36e14d3be7
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
15 lines
563 B
Diff
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
|