QEMUDriver is killing the QEMU process when using the "power on" command #1471
Replies: 2 comments
-
We can't keep the qemu process running since the client is exiting. It's possible to get the exact command arguments from the labgrid/labgrid/driver/qemudriver.py Line 125 in 7f2c8fc The tests for barebox use this to spawn qemu interactively, see here. |
Beta Was this translation helpful? Give feedback.
-
Ah okay thank-you. So its not really possible to use the QEMU driver via the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to get a setup working for the QEMUDriver.
I am using this guide as a base for my QEMU config - Boot ARM64 virtual machines on QEMU. I'm able to run this outside of Labgrid with no issues.
Here's my config for the QEMUDriver, based on to the guide above:
When I run
labgrid-client -c qemu.config power on
, I get the following error:qemu-system-aarch64: terminating on signal 15 from pid <PID> (<PYTHON PATH>)
After debugging this, it seems that Labgrid is executing the
QEMUDriver.on
method which brings up the QEMU process. However, once it has finished it exits and triggers theQEMUDriver._atexit
method, which kills the QEMU process, causing QEMU to print the error above.I also get the same error when I run an "empty config":
In this case I'd also expect the QEMU process to stay up
Any help is much appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions