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

Re: [libvirt] [PATCH] virsh: Fix possible deadlock when virsh is about to exit



On 11/30/2011 12:42 PM, Jiri Denemark wrote:
> Not only was ctl->quit accessed without a mutex but unfortunately,
> virEventAddTimeout only interrupts the poll when event loop is running
> so the hack needs to add a timeout that will make next poll return
> immediately without blocking.
> ---
>  tools/virsh.c |   39 +++++++++++++++++++++++++++++++++------
>  1 files changed, 33 insertions(+), 6 deletions(-)

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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