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

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

 



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@xxxxxxxxxxx>
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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]