[libvirt] [PATCHv3 2/5] snapshot: qemu: Fix detection of external snapshots when deleting

Eric Blake eblake at redhat.com
Tue Nov 13 19:06:05 UTC 2012


On 11/12/2012 10:49 AM, Peter Krempa wrote:
> This patch adds a helper to determine if snapshots are external and uses
> the helper to fix detection of those in snapshot deletion code.
> 
> Snapshots are external if they have an external memory image or if the
> disk locations are external. As mixed snapshots are forbidden for now
> we need to check just one disk to know.
> ---
> - Squashed the patch adding the helper with the actual fix.
> - Fixed detection of external snapshots
> ---
>  src/conf/snapshot_conf.c | 17 +++++++++++++++++
>  src/conf/snapshot_conf.h |  2 ++
>  src/libvirt_private.syms |  1 +
>  src/qemu/qemu_driver.c   |  6 +++---
>  4 files changed, 23 insertions(+), 3 deletions(-)

ACK; this can be applied now, in part because I need this particular
patch for my next post.  I still need to look at the rest of your
series, though.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121113/2f6a475d/attachment-0001.sig>


More information about the libvir-list mailing list