]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Deal with stucked qemu on daemon startup
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Aug 2011 10:51:36 +0000 (12:51 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Sep 2011 16:14:08 +0000 (18:14 +0200)
commitd38897a5d4b1880e1998394b2a37bba979bbdff1
treec0b8396132c5cb439d814c282557690acd8bc0b4
parent3005cacb690e7dcefd2c4977550e74634ba58e3b
qemu: Deal with stucked qemu on daemon startup

If libvirt daemon gets restarted and there is (at least) one
unresponsive qemu, the startup procedure hangs up. This patch creates
one thread per vm in which we try to reconnect to monitor. Therefore,
blocking in one thread will not affect other APIs.
src/qemu/qemu_driver.c
src/qemu/qemu_process.c