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

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

 



On 09/03/2014 07:53 AM, Peter Krempa wrote:
> From: Jincheng Miao <jmiao@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  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

--
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]