Update ancient copyright string in -version output

Currently the -version command line argument prints a string ending
with "Copyright (c) 2003-2008 Fabrice Bellard".  This is now some
eight years out of date; abstract it out of the several places that
print the string and update it to:

Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers

to reflect the work by all the QEMU Project contributors over the
last decade.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1470309276-5012-1-git-send-email-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell committed 2016-08-11 16:24:53 +01:00
1 parent bea048dcb9
commit d915b7bb4c
5 files changed
+10 -4

No files matched your search

+2 -1
View File
@@ -1914,7 +1914,8 @@ static void main_loop(void)
static void version(void)
{
printf("QEMU emulator version " QEMU_VERSION QEMU_PKGVERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n");
printf("QEMU emulator version " QEMU_VERSION QEMU_PKGVERSION ", "
QEMU_COPYRIGHT "\n");
}
static void help(int exitcode)