Re: [PATCH] Fix potential deadlock when agent is closed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/26/2012 09:25 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> If the qemuAgentClose method is called from a place which holds
> the domain lock, it is theoretically possible to get a deadlock
> in the agent destroy callback. This has not ben observed, but

s/ben/been/

> the equivalent code in the QEMU monitor destroy callback has seen
> a deadlock.
> 
> Remove the redundant locking while unrefing the object and the
> bogus assignment
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/qemu/qemu_process.c | 12 +++---------
>  1 file changed, 3 insertions(+), 9 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]