Makefile: save QEMU PID to file#5779
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5779 +/- ##
===========================================
+ Coverage 19.52% 29.87% +10.34%
===========================================
Files 19 18 -1
Lines 3021 2417 -604
===========================================
+ Hits 590 722 +132
+ Misses 2310 1549 -761
- Partials 121 146 +25 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Add QEMU_PID_FILE variable and pass -pidfile to QEMU_OPTS_COMMON to write the QEMU process ID to disk. Add qemu.pid to .gitignore. Signed-off-by: Shahriyar Jalayeri <shahriyar@posteo.de>
e7796c3 to
62905b3
Compare
|
Rebased on master, still Docker hashes consistency issue? |
@shjala yes, I hope we fix it today. Please explain in PR why we need PID file. not clear to me |
I find it helpful; then I can get the pid of qemu from this file instead of |
|
FWIW 2/4 eden failures in FAIL: TestEdenScripts/hw_inventory and 2/4 in FAIL: TestEdenScripts/log_test |
Description
Add QEMU_PID_FILE variable and pass -pidfile to QEMU_OPTS_COMMON to write the QEMU process ID to disk. This allows scripts to reliably locate and kill the running QEMU instance when building and running EVE in a scripted environment.
Add qemu.pid to .gitignore.
PR dependencies
None.
How to test and validate this PR
N/A
Changelog notes
None
PR Backports
None.
Checklist
For backport PRs (remove it if it's not a backport):
And the last but not least:
check them.
Please, check the boxes above after submitting the PR in interactive mode.