qemu-e2k/bsd-user
Thomas Huth 7e563bfb8a Polish the version strings containing the package version
Since commit 67a1de0d19 there is no space anymore between the
version number and the parentheses when running configure with
--with-pkgversion=foo :

 $ qemu-system-s390x --version
 QEMU emulator version 2.11.50(foo)

But the space is included when building without that option
when building from a git checkout:

 $ qemu-system-s390x --version
 QEMU emulator version 2.11.50 (v2.11.0-1494-gbec9c64-dirty)

The same confusion exists with the "query-version" QMP command.
Let's fix this by introducing a proper QEMU_FULL_VERSION definition
that includes the space and parentheses, while the QEMU_PKGVERSION
should just cleanly contain the package version string itself.
Note that this also changes the behavior of the "query-version" QMP
command (the space and parentheses are not included there anymore),
but that's supposed to be OK since the strings there are not meant
to be parsed by other tools.

Fixes: 67a1de0d19
Buglink: https://bugs.launchpad.net/qemu/+bug/1673373
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1518692807-25859-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-12 16:12:47 +01:00
..
freebsd
i386 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
netbsd
openbsd
sparc Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
sparc64 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
x86_64 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
bsd-mman.h
bsdload.c bsd-user/bsdload.c: Remove write-only id_change variable 2017-07-21 15:00:43 +01:00
elfload.c bsd-user/elfload.c: Fix set-but-not-used warnings 2017-07-21 10:34:40 +01:00
errno_defs.h
main.c Polish the version strings containing the package version 2018-03-12 16:12:47 +01:00
Makefile.objs
mmap.c bsd-user/mmap.c: Move __thread attribute to right place 2017-07-21 10:34:40 +01:00
qemu.h qom/cpu: remove host_tid field 2017-07-14 12:04:41 +02:00
signal.c bsd-user: Clean up includes 2016-02-04 17:01:04 +00:00
strace.c bsd-user: Clean up includes 2016-02-04 17:01:04 +00:00
syscall_defs.h
syscall.c trace: [*-user] Add events to trace guest syscalls in syscall emulation mode 2016-06-28 21:14:12 +01:00
uaccess.c bsd-user: Suppress gcc 4.x -Wpointer-sign (included in -Wall) warning 2016-04-05 17:49:41 +01:00