qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: mprivozn@redhat.com, aliguori@us.ibm.com, eblake@redhat.com,
	jcody@redhat.com, lcapitulino@redhat.com
Subject: [Qemu-devel] [PATCH 13/13] qemu-ga: align versioning with QEMU_VERSION
Date: Tue, 15 May 2012 09:48:59 -0500	[thread overview]
Message-ID: <1337093339-10786-14-git-send-email-mdroth@linux.vnet.ibm.com> (raw)
In-Reply-To: <1337093339-10786-1-git-send-email-mdroth@linux.vnet.ibm.com>

Previously qemu-ga version was defined seperately. Since it is aligned
with QEMU releases, use QEMU_VERSION instead. This also implies the
version bump for 1.1[-rcN] release of qemu-ga.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---
 qemu-ga.c              |    4 ++--
 qga/commands.c         |    2 +-
 qga/guest-agent-core.h |    1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/qemu-ga.c b/qemu-ga.c
index 42e271f..8199da7 100644
--- a/qemu-ga.c
+++ b/qemu-ga.c
@@ -169,7 +169,7 @@ static void usage(const char *cmd)
 "  -h, --help        display this help and exit\n"
 "\n"
 "Report bugs to <mdroth@linux.vnet.ibm.com>\n"
-    , cmd, QGA_VERSION, QGA_VIRTIO_PATH_DEFAULT, QGA_PIDFILE_DEFAULT,
+    , cmd, QEMU_VERSION, QGA_VIRTIO_PATH_DEFAULT, QGA_PIDFILE_DEFAULT,
     QGA_STATEDIR_DEFAULT);
 }
 
@@ -729,7 +729,7 @@ int main(int argc, char **argv)
             log_level = G_LOG_LEVEL_MASK;
             break;
         case 'V':
-            printf("QEMU Guest Agent %s\n", QGA_VERSION);
+            printf("QEMU Guest Agent %s\n", QEMU_VERSION);
             return 0;
         case 'd':
             daemonize = 1;
diff --git a/qga/commands.c b/qga/commands.c
index 5bcceaa..46b0b08 100644
--- a/qga/commands.c
+++ b/qga/commands.c
@@ -52,7 +52,7 @@ struct GuestAgentInfo *qmp_guest_info(Error **err)
     GuestAgentCommandInfoList *cmd_info_list;
     char **cmd_list_head, **cmd_list;
 
-    info->version = g_strdup(QGA_VERSION);
+    info->version = g_strdup(QEMU_VERSION);
 
     cmd_list_head = cmd_list = qmp_get_command_list();
     if (*cmd_list_head == NULL) {
diff --git a/qga/guest-agent-core.h b/qga/guest-agent-core.h
index 6dba104..49a7abe 100644
--- a/qga/guest-agent-core.h
+++ b/qga/guest-agent-core.h
@@ -13,7 +13,6 @@
 #include "qapi/qmp-core.h"
 #include "qemu-common.h"
 
-#define QGA_VERSION "1.0"
 #define QGA_READ_COUNT_DEFAULT 4096
 
 typedef struct GAState GAState;
-- 
1.7.4.1

  parent reply	other threads:[~2012-05-15 14:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 14:48 [Qemu-devel] [PULL] qemu-ga fixes for 1.1 Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 01/13] qapi: add support for command options Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 02/13] qemu-ga: don't warn on no command return Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 03/13] qemu-ga: guest-shutdown: don't emit a success response Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 04/13] qemu-ga: guest-suspend-disk: " Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 05/13] qemu-ga: guest-suspend-ram: " Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 06/13] qemu-ga: guest-suspend-hybrid: " Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 07/13] qemu-ga: make reopen_fd_to_null() public Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 08/13] qemu-ga: become_daemon(): reopen standard fds to /dev/null Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 09/13] qemu-ga: guest-suspend: make the API synchronous Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 10/13] qemu-ga: guest-shutdown: become synchronous Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 11/13] qemu-ga: guest-shutdown: use only async-signal-safe functions Michael Roth
2012-05-15 14:48 ` [Qemu-devel] [PATCH 12/13] qemu-ga: fix segv after failure to open log file Michael Roth
2012-05-15 14:48 ` Michael Roth [this message]
2012-05-21 16:51 ` [Qemu-devel] [PULL] qemu-ga fixes for 1.1 Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337093339-10786-14-git-send-email-mdroth@linux.vnet.ibm.com \
    --to=mdroth@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=eblake@redhat.com \
    --cc=jcody@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=mprivozn@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).