summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Arnold <carnold@suse.com>2014-01-24 13:35:39 -0700
committerCole Robinson <crobinso@redhat.com>2014-01-25 11:55:56 -0500
commit92a21f6d14ab3f5fc1bbc41af40703d15711429b (patch)
treec78a8f42b84415e1d22f87190205d29350f719bc
parentf2dbae6118cfc45ad2385544dd03380aa2dc30c9 (diff)
downloadvirt-manager-92a21f6d14ab3f5fc1bbc41af40703d15711429b.tar.gz
Fix default_uri xen check
The xend toolstack is deprecated upstream. While support needs continue for this legacy toolstack, the newer libxl toolstack does not need xend to work. Additionally, libvirt now has drivers for supporting the libxl toolstack. This patch changes the check from /var/lib/xend to /var/lib/xen which is a common path in both toolstacks. Neither the old path nor the new one actually proves that xend is currently running. It just validates that xen has been installed on the machine. Signed-off-by: Charles Arnold <carnold@suse.com>
-rw-r--r--virtManager/uihelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/uihelpers.py b/virtManager/uihelpers.py
index a50747d2..b98663b9 100644
--- a/virtManager/uihelpers.py
+++ b/virtManager/uihelpers.py
@@ -1411,7 +1411,7 @@ def set_grid_row_visible(child, visible):
def default_uri(always_system=False):
- if os.path.exists('/var/lib/xend'):
+ if os.path.exists('/var/lib/xen'):
if (os.path.exists('/dev/xen/evtchn') or
os.path.exists("/proc/xen")):
return 'xen:///'