]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/fix-emulator-version-string.patch
define QEMU_PKGVERSION
[pve-qemu-kvm.git] / debian / patches / fix-emulator-version-string.patch
1 use whith spave between VERSION and QEMU_PKGVERSION
2
3 Our kvm version parser expects a white space ot comma after version,
4 see PVE::QemuServer::kvm_user_version()
5
6 Index: 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)