Commit 047f7038f586d2150f16c6d9ba9cfd0479f0f6ac broke iotests that were using -nodefault option, which lead to hang in the early main_loop_wait(). 1/2 fixes it by not calling main_loop_wait() unless --preconfig option was on CLI. 1/2 also fixes issue where libvirt starting qemu as daemon waits on qemu parent process to exit which doens't happen at the early main_loop(). 2/2 fixes the same deamon issue but with --preconfig option on CLI
With this QEMU passes make check, make check-block and manual testing with -daemonize CC: berra...@redhat.com CC: mre...@redhat.com CC: pbonz...@redhat.com CC: ehabk...@redhat.com CC: ldok...@redhat.com Igor Mammedov (2): cli: Don't run early event loop if no --preconfig was specified vl: fix use of --daemonize with --preconfig os-posix.c | 6 ++++++ vl.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) -- 2.7.4