[Qemu-devel] [PATCH rebased 0/2] delay monitor iothread creation

Wolfgang Bumiller posted 2 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180925081507.11873-1-w.bumiller@proxmox.com
Test docker-clang@ubuntu failed
Test checkpatch passed
There is a newer version of this series
monitor.c | 37 ++++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 15 deletions(-)
[Qemu-devel] [PATCH rebased 0/2] delay monitor iothread creation
Posted by Wolfgang Bumiller 7 years, 1 month ago
The early monitor iothread creation conflicts with the -daemonize option
causing crashes at shutdown of a daemonized qemu instance.
These patches will delay the creation to when a monitor using it is
actually spawned, which AFAICT only happens after the os_daemonize()
call.

While the second patch depends on the first one, the first is a
consistency cleanup on its own, therefore split out.

Wolfgang Bumiller (2):
  monitor: guard iothread access by mon->use_io_thread
  monitor: delay monitor iothread creation

 monitor.c | 37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)

-- 
2.11.0