Re: [PATCH 4/4] snapshot: qemu: Allow redefinition of external snapshots

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

 



On 01/03/2013 06:38 AM, Peter Krempa wrote:
> A redefinition of an external inactive snapshot/checkpoint wasn't
> possible without this change.
> ---
>  src/qemu/qemu_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index 4c7558d..3a52b47 100644
> --- a/src/qemu/qemu_driver.c
> +++ b/src/qemu/qemu_driver.c
> @@ -11410,7 +11410,7 @@ qemuDomainSnapshotCreateXML(virDomainPtr domain,
> 
>              if (def->dom) {
>                  if (def->state == VIR_DOMAIN_DISK_SNAPSHOT ||
> -                    def->memory == VIR_DOMAIN_SNAPSHOT_LOCATION_EXTERNAL) {
> +                    virDomainSnapshotDefIsExternal(def)) {

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]