virt-manager: drop 'xenmigr' scheme from Xen migration URI

For Xen, virt-manager uses a 'xenmigr' URI scheme, which is not
supported by the libvirt libxl driver. Attempting migration
fails with

libvirtError: invalid argument: unable to parse URI: xenmigr://myhost

The old xend-based libvirt driver supports this scheme, but also
supports an empty scheme. It's not clear what the 'xenmigr' scheme
is used for. 'xenmigr' is not referenced by any files in the Xen
code-base, including old branches with xend.

Drop setting scheme to 'xenmigr' when creating the Xen migration URI.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
Jim Fehlig 2016-09-06 22:55:42 -06:00 committed by Cole Robinson
parent 0425975f38
commit 561f5cd3e6
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ class vmmMigrateDialog(vmmGObjectUI):
return
if self.conn.is_xen():
uri = "xenmigr://%s" % address
uri = "%s" % address
else:
uri = "tcp:%s" % address
if port: