@@ -0,0 +1,34 @@
+diff -Nuar virt-manager-0.5.3.orig/src/virtManager/connect.py virt-manager-0.5.3/src/virtManager/connect.py
+--- virt-manager-0.5.3.orig/src/virtManager/connect.py 2008-02-12 16:34:35.000000000 -0700
++++ virt-manager-0.5.3/src/virtManager/connect.py 2008-02-12 16:35:05.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:
+diff -Nuar virt-manager-0.5.3.orig/src/virt-manager.py.in virt-manager-0.5.3/src/virt-manager.py.in
+--- virt-manager-0.5.3.orig/src/virt-manager.py.in 2008-02-12 16:34:35.000000000 -0700
++++ virt-manager-0.5.3/src/virt-manager.py.in 2008-02-12 16:38:48.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"
+@@ -248,6 +248,9 @@
+
+ gtk.window_set_default_icon_from_file(icon_dir + "/" + appname + "-icon.svg")
+
++ if options.uri != None and (options.uri.upper() == "XEN" or options.uri.upper().startswith("XEN:")):
++ options.uri = "xen:///"
++
+ if options.show and options.uri==None:
+ raise OptionValueError("can't use --show-* options without --connect")
+
|