2010-04-02 18:06:48 +02:00
|
|
|
Index: virt-manager-0.8.4/src/virtManager/engine.py
|
2009-08-01 11:46:10 +02:00
|
|
|
===================================================================
|
2010-04-02 18:06:48 +02:00
|
|
|
--- virt-manager-0.8.4.orig/src/virtManager/engine.py
|
|
|
|
+++ virt-manager-0.8.4/src/virtManager/engine.py
|
|
|
|
@@ -69,7 +69,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
|