[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] also look for /usr/bin/kvm



We do so in qemudCapsInitGuest() but not in qemudProbe(). O.k. to apply?
 -- Guido
>From 8c2aed9e57c70adf2c4f468785adb69bd256498b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx sigxcpu org>
Date: Tue, 2 Dec 2008 22:20: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 efe780c..9aaadf2 100644
--- a/src/qemu_driver.c
+++ b/src/qemu_driver.c
@@ -1188,6 +1188,7 @@ static int qemudProbe(void)
 {
     if ((virFileExists("/usr/bin/qemu")) ||
         (virFileExists("/usr/bin/qemu-kvm")) ||
+        (virFileExists("/usr/bin/kvm")) ||
         (virFileExists("/usr/bin/xenner")))
         return 1;
 
-- 
1.6.0.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]