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