[virt-tools-list] [virt-manager PATCH 2/2] domain: use migrateToURI3() for tunneled migration
Pavel Hrdina
phrdina at redhat.com
Wed Sep 6 07:23:19 UTC 2017
The migrate3() API doesn't support tunneled migration.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1456185
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
virtManager/domain.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/virtManager/domain.py b/virtManager/domain.py
index 52b69fcd..30302769 100644
--- a/virtManager/domain.py
+++ b/virtManager/domain.py
@@ -1583,7 +1583,10 @@ class vmmDomain(vmmLibvirtObject):
if dest_uri:
params[libvirt.VIR_MIGRATE_PARAM_URI] = dest_uri
- self._backend.migrate3(libvirt_destconn, params, flags)
+ if tunnel:
+ self._backend.migrateToURI3(dest_uri, params, flags)
+ else:
+ self._backend.migrate3(libvirt_destconn, params, flags)
# Don't schedule any conn update, migrate dialog handles it for us
--
2.13.5
More information about the virt-tools-list
mailing list