Skip to content
Snippets Groups Projects
Commit 97e57066 authored by Guido Günther's avatar Guido Günther Committed by Guido Günther
Browse files

also look for /usr/bin/kvm

Closes: #507547
parent ea12bd94
No related branches found
No related tags found
No related merge requests found
From de516e669fcc0e4d1268698dd0a48e9c79da1eaf Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 4 Dec 2008 11:51:13 +0100
Subject: [PATCH] also look for /usr/bin/kvm
---
src/qemu_driver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/qemu_driver.c b/src/qemu_driver.c
index 58530aa..0d5e768 100644
--- a/src/qemu_driver.c
+++ b/src/qemu_driver.c
@@ -1749,6 +1749,7 @@ static const char *qemudProbe(void)
{
if ((virFileExists("/usr/bin/qemu")) ||
(virFileExists("/usr/bin/qemu-kvm")) ||
+ (virFileExists("/usr/bin/kvm")) ||
(virFileExists("/usr/bin/xenner"))) {
if (getuid() == 0) {
return("qemu:///system");
--
1.6.0.3
......@@ -4,3 +4,4 @@
0004-support-virtio-and-scsi-disks-in-qemudDomainBlockSta.patch
0005-fix-define-vs.-defined-typos.patch
0006-xen-prefer-xenstoraged-driver-for-listDomains.patch
0007-also-look-for-usr-bin-kvm.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment