virt-manager/virtman-xen-uri.diff

27 lines
1.3 KiB
Diff

Index: virt-manager-0.5.3/src/virtManager/connect.py
===================================================================
--- virt-manager-0.5.3.orig/src/virtManager/connect.py 2008-01-10 18:17:51.000000000 -0700
+++ virt-manager-0.5.3/src/virtManager/connect.py 2008-02-03 17:30:24.000000000 -0700
@@ -95,7 +95,7 @@
pass
elif hv == HV_XEN:
if conn == CONN_LOCAL:
- uri = "xen"
+ uri = "xen:///"
if os.getuid() != 0:
readOnly = True
elif conn == CONN_TLS:
Index: virt-manager-0.5.3/src/virt-manager.py.in
===================================================================
--- virt-manager-0.5.3.orig/src/virt-manager.py.in 2008-01-10 18:17:51.000000000 -0700
+++ virt-manager-0.5.3/src/virt-manager.py.in 2008-02-03 17:28:34.000000000 -0700
@@ -172,7 +172,7 @@
if engine.config.get_connections() is None or len(engine.config.get_connections()) == 0:
tryuri = None
if os.path.exists("/var/lib/xend") and os.path.exists("/proc/xen"):
- tryuri = "xen"
+ tryuri = "xen:///"
elif os.path.exists("/usr/bin/qemu"):
if os.getuid() == 0:
tryuri = "qemu:///system"