Re: [libvirt] [PATCH] qemu: Fix deadlock when qemuDomainOpenConsole cleans up a connection

2012-04-11 Thread Peter Krempa
On 04/10/2012 05:43 PM, Eric Blake wrote: On 04/10/2012 07:29 AM, Peter Krempa wrote: The new safe console handling introduced a possibility to deadlock the qemu driver when a new console connection forcibly disconnects a previous console stream that belongs to an already closed connection. The

Re: [libvirt] [PATCH] qemu: Fix deadlock when qemuDomainOpenConsole cleans up a connection

2012-04-10 Thread Eric Blake
On 04/10/2012 07:29 AM, Peter Krempa wrote: > The new safe console handling introduced a possibility to deadlock the > qemu driver when a new console connection forcibly disconnects a > previous console stream that belongs to an already closed connection. > > The virStreamFree function calls subse

[libvirt] [PATCH] qemu: Fix deadlock when qemuDomainOpenConsole cleans up a connection

2012-04-10 Thread Peter Krempa
The new safe console handling introduced a possibility to deadlock the qemu driver when a new console connection forcibly disconnects a previous console stream that belongs to an already closed connection. The virStreamFree function calls subsequently a the virReleaseConnect function that tries to