Skip to content

fix -nodefaults and -daemonize regressions caused by --preconfig introduction

Igor Mammedov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 6 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cli: Don't run early event loop if no --preconfig was specifiedvl.c+2 -23 replies
2/2vl: fix use of --daemonize with --preconfigos-posix.c vl.c+7 -122 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] fix -nodefaults and -daemonize regressions caused by --preconfig introduction

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

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(-)
Signature · 1 line
2.7.4