Re: [libvirt] [PATCH 3/3 v2] qemu: Deal with stucked qemu on daemon startup

2011-08-25 Thread Daniel P. Berrange
On Tue, Aug 23, 2011 at 08:22:18PM +0200, Michal Privoznik wrote: 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

[libvirt] [PATCH 3/3 v2] qemu: Deal with stucked qemu on daemon startup

2011-08-23 Thread Michal Privoznik
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 | 23 +