]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/fix-emulator-version-string.patch
Two more fixes
[pve-qemu-kvm.git] / debian / patches / fix-emulator-version-string.patch
CommitLineData
b6e85098
DM
1use whith spave between VERSION and QEMU_PKGVERSION
2
3Our kvm version parser expects a white space ot comma after version,
4see PVE::QemuServer::kvm_user_version()
5
6Index: new/vl.c
7===================================================================
8--- new.orig/vl.c
9+++ new/vl.c
10@@ -1913,7 +1913,7 @@ static void main_loop(void)
11
12 static void version(void)
13 {
14- printf("QEMU emulator version " QEMU_VERSION QEMU_PKGVERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n");
15+ printf("QEMU emulator version " QEMU_VERSION " " QEMU_PKGVERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n");
16 }
17
18 static void help(int exitcode)