[virt-tools-list] [PATCH virt-manager] set VM persistence and undefine source flags for migration
ryan woodsmall
rwoodsmall at gmail.com
Fri May 18 00:24:42 UTC 2012
Set VM persistence and undefine source after successful migration
diff --git a/src/virtManager/domain.py b/src/virtManager/domain.py
index b547f91..e348a3d 100644
--- a/src/virtManager/domain.py
+++ b/src/virtManager/domain.py
@@ -1143,6 +1143,8 @@ class vmmDomain(vmmLibvirtObject):
newname = None
flags = 0
+ flags |= libvirt.VIR_MIGRATE_UNDEFINE_SOURCE
+ flags |= libvirt.VIR_MIGRATE_PERSIST_DEST
if self.status() == libvirt.VIR_DOMAIN_RUNNING and live:
flags |= libvirt.VIR_MIGRATE_LIVE
More information about the virt-tools-list
mailing list