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

2011-08-23 Thread Daniel P. Berrange
On Tue, Aug 16, 2011 at 06:39:12PM +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

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

2011-08-23 Thread Michal Privoznik
On 23.08.2011 14:42, Daniel P. Berrange wrote: On Tue, Aug 16, 2011 at 06:39:12PM +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

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

2011-08-16 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

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

2011-08-16 Thread Jiri Denemark
On Tue, Aug 16, 2011 at 18:39:12 +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