virt-manager/virtman-kvm.diff
Charles Arnold b6d3df316d - virtinst-storage-ocfs2.diff (Xin Wei Hu)
* add ocfs2 to  pool of dir (Filesystem Directory) type in libvirt

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=16
2010-02-26 18:34:04 +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