virt-manager/virtman-kvm.diff

15 lines
563 B
Diff
Raw Normal View History

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():
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