2009-08-01 11:46:10 +02:00
|
|
|
Index: virt-manager-0.8.0/src/virt-manager.py.in
|
|
|
|
===================================================================
|
|
|
|
--- virt-manager-0.8.0.orig/src/virt-manager.py.in
|
|
|
|
+++ virt-manager-0.8.0/src/virt-manager.py.in
|
|
|
|
@@ -196,7 +196,8 @@ def default_uri():
|
2009-05-04 18:36:17 +02:00
|
|
|
tryuri = "xen:///"
|
|
|
|
elif (os.path.exists("/usr/bin/qemu") or
|
|
|
|
os.path.exists("/usr/bin/qemu-kvm") or
|
|
|
|
- os.path.exists("/usr/bin/kvm")):
|
|
|
|
+ os.path.exists("/usr/bin/kvm") or
|
|
|
|
+ os.path.exists("/dev/kvm") ):
|
|
|
|
tryuri = "qemu:///system"
|
|
|
|
|
|
|
|
return tryuri
|