virt-manager/virtman-kvm.diff

13 lines
532 B
Diff
Raw Normal View History

Index: virt-manager-0.9.1/src/virtManager/engine.py
===================================================================
--- virt-manager-0.9.1.orig/src/virtManager/engine.py
+++ virt-manager-0.9.1/src/virtManager/engine.py
@@ -59,6 +59,7 @@ def default_uri():
os.path.exists("/usr/bin/qemu") or
os.path.exists("/usr/bin/qemu-kvm") or
os.path.exists("/usr/bin/kvm") or
+ os.path.exists("/dev/kvm") or
os.path.exists("/usr/libexec/qemu-kvm")):
tryuri = "qemu:///system"