diff mbox

configure: make default KVM_VERSION qemu-kvm-devel

Message ID 1249897162.8784.66.camel@blaa (mailing list archive)
State New, archived
Headers show

Commit Message

Mark McLoughlin Aug. 10, 2009, 9:39 a.m. UTC
Released versions of qemu-kvm now have a KVM_VERSION of either
qemu-kvm-x.y.z or qemu-kvm-devel-XX. However, when building from git,
KVM_VERSION is kvm-devel.

Defaulting to qemu-kvm-devel makes more sense.

With newer versions of qemu-kvm, libvirt actually ignores the kvm
snapshot number (i.e. 86, 87 etc.) and just uses the 'qemu-kvm-'
string to detect that this is the kvm fork of qemu. The actual kvm
snapshot number is no longer important, it's the qemu version number
which is important.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Avi Kivity Aug. 10, 2009, 9:47 a.m. UTC | #1
On 08/10/2009 12:39 PM, Mark McLoughlin wrote:
> Released versions of qemu-kvm now have a KVM_VERSION of either
> qemu-kvm-x.y.z or qemu-kvm-devel-XX. However, when building from git,
> KVM_VERSION is kvm-devel.
>
> Defaulting to qemu-kvm-devel makes more sense.
>
> With newer versions of qemu-kvm, libvirt actually ignores the kvm
> snapshot number (i.e. 86, 87 etc.) and just uses the 'qemu-kvm-'
> string to detect that this is the kvm fork of qemu. The actual kvm
> snapshot number is no longer important, it's the qemu version number
> which is important.
>    

Applied, thanks.
diff mbox

Patch

diff --git a/configure b/configure
index 62028ca..cf8c4e6 100755
--- a/configure
+++ b/configure
@@ -166,7 +166,7 @@  kvm_version() {
     if test -f "$fname"; then
         cat "$fname"
     else
-        echo "kvm-devel"
+        echo "qemu-kvm-devel"
     fi
 }