[Pkg-libvirt-commits] [SCM] Libvirt debian packaging branch, master, updated. debian/0.4.6-6-11-g44cb9b5

Guido Guenther agx at sigxcpu.org
Thu Dec 4 17:37:49 UTC 2008


The following commit has been merged in the master branch:
commit 97e5706611a5c32f67826f118a657cff775f4307
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Dec 4 11:58:51 2008 +0100

    also look for /usr/bin/kvm
    
    Closes: #507547

diff --git a/debian/patches/0007-also-look-for-usr-bin-kvm.patch b/debian/patches/0007-also-look-for-usr-bin-kvm.patch
new file mode 100644
index 0000000..abe2833
--- /dev/null
+++ b/debian/patches/0007-also-look-for-usr-bin-kvm.patch
@@ -0,0 +1,24 @@
+From de516e669fcc0e4d1268698dd0a48e9c79da1eaf Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx at 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
+
diff --git a/debian/patches/series b/debian/patches/series
index a950046..c7f28fb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -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

-- 
Libvirt debian packaging



More information about the Pkg-libvirt-commits mailing list