Blame SOURCES/virt-manager-domain-don-t-add-URI-into-params-for-tunneled-migration.patch

8799e5
From cdcd3af8ecd3ef29a5cbd7ba0056cbc43e53f9ec Mon Sep 17 00:00:00 2001
8799e5
Message-Id: <cdcd3af8ecd3ef29a5cbd7ba0056cbc43e53f9ec@dist-git>
8799e5
From: Pavel Hrdina <phrdina@redhat.com>
8799e5
Date: Tue, 3 Oct 2017 12:24:39 +0200
8799e5
Subject: [PATCH] domain: don't add URI into params for tunneled migration
8799e5
8799e5
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1456185
8799e5
8799e5
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
8799e5
(cherry picked from commit 3b769643657f906dc2b53c568d7fe748155d9b2b)
8799e5
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
8799e5
---
8799e5
 virtManager/domain.py | 2 +-
8799e5
 1 file changed, 1 insertion(+), 1 deletion(-)
8799e5
8799e5
diff --git a/virtManager/domain.py b/virtManager/domain.py
8799e5
index 6fb54bc7..724f83fd 100644
8799e5
--- a/virtManager/domain.py
8799e5
+++ b/virtManager/domain.py
8799e5
@@ -1596,7 +1596,7 @@ class vmmDomain(vmmLibvirtObject):
8799e5
             start_job_progress_thread(self, meter, _("Migrating domain"))
8799e5
 
8799e5
         params = {}
8799e5
-        if dest_uri:
8799e5
+        if dest_uri and not tunnel:
8799e5
             params[libvirt.VIR_MIGRATE_PARAM_URI] = dest_uri
8799e5
 
8799e5
         if tunnel:
8799e5
-- 
8799e5
2.14.3
8799e5