diff mbox

[v2,1/1] qemu-img: Add QEMU_PKGVERSION to QEMU_IMG_VERSION

Message ID 1420816655-14775-2-git-send-email-dslutz@verizon.com
State New
Headers show

Commit Message

Don Slutz Jan. 9, 2015, 3:17 p.m. UTC
This is the same way vl.c handles this.

Signed-off-by: Don Slutz <dslutz@verizon.com>
---
 qemu-img.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Blake Jan. 9, 2015, 4:21 p.m. UTC | #1
On 01/09/2015 08:17 AM, Don Slutz wrote:
> This is the same way vl.c handles this.
> 
> Signed-off-by: Don Slutz <dslutz@verizon.com>
> ---
>  qemu-img.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/qemu-img.c b/qemu-img.c
> index 7876258..b6e9220 100644
> --- a/qemu-img.c
> +++ b/qemu-img.c
> @@ -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 {
>
Don Slutz Jan. 28, 2015, 7:51 p.m. UTC | #2
Ping.

On 01/09/15 11:21, Eric Blake wrote:
> On 01/09/2015 08:17 AM, Don Slutz wrote:
>> This is the same way vl.c handles this.
>>
>> Signed-off-by: Don Slutz <dslutz@verizon.com>
>> ---
>>  qemu-img.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Reviewed-by: Eric Blake <eblake@redhat.com>
> 
>>
>> diff --git a/qemu-img.c b/qemu-img.c
>> index 7876258..b6e9220 100644
>> --- a/qemu-img.c
>> +++ b/qemu-img.c
>> @@ -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 Feb. 2, 2015, 1:55 p.m. UTC | #3
Am 09.01.2015 um 16:17 hat Don Slutz geschrieben:
> This is the same way vl.c handles this.
> 
> Signed-off-by: Don Slutz <dslutz@verizon.com>

Thanks, applied to the block branch.

Kevin
diff mbox

Patch

diff --git a/qemu-img.c b/qemu-img.c
index 7876258..b6e9220 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -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 {