qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION (was qemu-img: Add --pkgversion common option)
v2 cover qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION (was qemu-img: Add --pkgversion common option)
Changes v1 to v2:
Added a cover letter because subject changed.
Peter Maydell & Eric Blake
Switch to be consistent with both linux-user and the softmmu emulators
---------------
Just a little backgound. --version was added to qemu-img:
5f6979cb (Jeff Cody 2014-04-28 14:37:18 -0400
I did this cahnge a long time before and just now getting around to posting it:
85f9f5b2 (Don Slutz 2012-12-20 15:47:37 -0500
Don Slutz (1):
qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION
qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.4
PATCH v2 1/1 qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION
This is the same way vl.c handles this.
--- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-img.c +1 -1
@@ -35,7 +35,7 @@#include "block/qapi.h" #include <getopt.h> -#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION \ +#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ", Copyright (c) 2004-2008 Fabrice Bellard\n" typedef struct img_cmd_t {
Signature · 1 line
1.8.4
Re: [Qemu-devel] [PATCH v2 1/1] qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION
Quoted 6 lines · Don Slutz
This is the same way
vl.chandles this.Signed-off-by Don Slutz <[email protected]>--- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
qemu-img.c +1
-1@@ -35,7 +35,7 @@#include "block/qapi.h" #include <getopt.h> -#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION \ +#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ", Copyright (c) 2004-2008 Fabrice Bellard\n" typedef struct img_cmd_t {
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Re: [Qemu-devel] [PATCH v2 1/1] qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION
Ping.
Quoted 26 lines · Eric Blake
Quoted 6 lines · Don Slutz
This is the same way
vl.chandles this.Signed-off-by Don Slutz <[email protected]>--- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Eric Blake <[email protected]>Quoted 15 lines
qemu-img.c +1
-1@@ -35,7 +35,7 @@#include "block/qapi.h" #include <getopt.h> -#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION \ +#define QEMU_IMG_VERSION "qemu-img version " QEMU_VERSION QEMU_PKGVERSION \ ", Copyright (c) 2004-2008 Fabrice Bellard\n" typedef struct img_cmd_t {
Kevin Wolf
AppliedRe: [Qemu-devel] [PATCH v2 1/1] qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION
In reply to Don SlutzAm 09.01.2015 um 16:17 hat Don Slutz geschrieben:
Quoted 3 lines
This is the same way
vl.chandles this.Signed-off-by Don Slutz <[email protected]>
Thanks, applied to the block branch.
Kevin