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

Re: [libvirt] [PATCH 3/5] qemu: snapshot: Acquire job earlier on snapshot revert/delete



On 09/03/2014 07:53 AM, Peter Krempa wrote:
> From: Jincheng Miao <jmiao redhat com>
> 
> The code would lookup the snapshot object before acquiring the job. This
> could lead to a crash as one thread could delete the snapshot object,
> while a second thread already had the reference.
> 
> Signed-off-by: Jincheng Miao <jmiao redhat com>
> Signed-off-by: Peter Krempa <pkrempa redhat com>
> ---
>  src/qemu/qemu_driver.c | 30 +++++++++++++++---------------
>  1 file changed, 15 insertions(+), 15 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]