[PATCH 19/21] Use QEMU_PKGVERSION to declare kvm-devel

Anthony Liguori
2009-04-29T21:21:33Z

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
configure | 4 +---
vl.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index c41e269..6b6cf5b 100755
--- a/configure
+++ b/configure
@@ -194,7 +194,7 @@ blobs="yes"
fdt="yes"
sdl_x11="no"
xen="yes"
-pkgversion=""
+pkgversion="kvm-devel"
signalfd="no"
eventfd="no"
cpu_emulation="yes"
@@ -1677,8 +1677,6 @@ fi
qemu_version=`head $source_path/VERSION`
echo "VERSION=$qemu_version" >>$config_mak
echo "#define QEMU_VERSION \"$qemu_version\"" >> $config_h
-echo "#define KVM_VERSION \"kvm-devel\"" >> $config_h
-
echo "#define QEMU_PKGVERSION \"$pkgversion\"" >> $config_h

echo "SRC_PATH=$source_path" >> $config_mak
diff --git a/vl.c b/vl.c
index 848a8f8..19c1de3 100644
--- a/vl.c
+++ b/vl.c
@@ -4099,7 +4099,7 @@ static int main_loop(void)

static void version(void)
{
- printf("QEMU PC emulator version " QEMU_VERSION " (" KVM_VERSION ")" QEMU_PKGVERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n");
+ printf("QEMU PC emulator version " QEMU_VERSION QEMU_PKGVERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n");
}

static void help(int exitcode)
--
1.6.0.6