virt-manager/virtman-kvm.diff

13 lines
532 B
Diff
Raw Normal View History

Index: virt-manager-0.9.3/src/virtManager/engine.py
===================================================================
--- virt-manager-0.9.3.orig/src/virtManager/engine.py
+++ virt-manager-0.9.3/src/virtManager/engine.py
@@ -57,6 +57,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"