virt-manager/virtman-kvm.diff
OBS User autobuild 36e14d3be7 Accepting request 33598 from Virtualization
Copy from Virtualization/virt-manager based on submit request 33598 from user charlesa

OBS-URL: https://build.opensuse.org/request/show/33598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-manager?expand=0&rev=33
2010-03-01 00:50:02 +00:00

15 lines
563 B
Diff

Index: virt-manager-0.8.3/src/virt-manager.py.in
===================================================================
--- virt-manager-0.8.3.orig/src/virt-manager.py.in
+++ virt-manager-0.8.3/src/virt-manager.py.in
@@ -209,7 +209,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