QEMUDriver is killing the QEMU process when using the "power on" command #1471
-
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 After debugging this, it seems that Labgrid is executing the 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.
Replies: 2 comments 1 reply
-
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.
We can't keep the qemu process running since the client is exiting. It's possible to get the exact command arguments from the
QemuDriver
withqemu_get_base_args()
, this way you can use labgrid as a library to retrieve the arguments and than spawn qemu yourself:labgrid/labgrid/driver/qemudriver.py
Line 125 in 7f2c8fc
The tests for barebox use this to spawn qemu interactively, see here.