qemu
qemu copied to clipboard
-daemonize failes with "operation not permitted"
Description
emulator does not start with -daemonize
option
Steps to Reproduce
works:
$ qemu-system-gnuarmeclipse -board STM32F4-Discovery -mcu STM32F407VG -image some/elf/file -S -nographic
QEMU 2.8.0-9 monitor - type 'help' for more information
(qemu)
fails:
$ qemu-system-gnuarmeclipse -board STM32F4-Discovery -mcu STM32F407VG -image some/elf/file -S -nographic -daemonize
qemu: qemu_mutex_unlock: Operation not permitted
Versions
2.8.0-9.2
Additional information
A quick search bings up this patch
Thank you, the current code is quite old, it probably has lots of issues and needs a major update.
I never used -daemonize
, what is it supposed to do?
-daemonize
should make it run in the background.
I was trying to use it for automatic testing from CTest
.
Without that feature I probably will need some intermediate tool to handle daemonization.
:-(
I don't know, perhaps it can be easily fixed. You can rebuild qemu and try that patch; if it is functional I can make a new release.
I tried the suggested patch, but it did not help.
Any other ideas?
I get this issue at docker container, but I don't at other situation. Is it help for you somehow?
I suggest you try qemu-system-arm.