Revision 8efacc43
b/qemu-ga.c | ||
---|---|---|
169 | 169 |
" -h, --help display this help and exit\n" |
170 | 170 |
"\n" |
171 | 171 |
"Report bugs to <mdroth@linux.vnet.ibm.com>\n" |
172 |
, cmd, QGA_VERSION, QGA_VIRTIO_PATH_DEFAULT, QGA_PIDFILE_DEFAULT,
|
|
172 |
, cmd, QEMU_VERSION, QGA_VIRTIO_PATH_DEFAULT, QGA_PIDFILE_DEFAULT,
|
|
173 | 173 |
QGA_STATEDIR_DEFAULT); |
174 | 174 |
} |
175 | 175 |
|
... | ... | |
729 | 729 |
log_level = G_LOG_LEVEL_MASK; |
730 | 730 |
break; |
731 | 731 |
case 'V': |
732 |
printf("QEMU Guest Agent %s\n", QGA_VERSION);
|
|
732 |
printf("QEMU Guest Agent %s\n", QEMU_VERSION);
|
|
733 | 733 |
return 0; |
734 | 734 |
case 'd': |
735 | 735 |
daemonize = 1; |
b/qga/commands.c | ||
---|---|---|
52 | 52 |
GuestAgentCommandInfoList *cmd_info_list; |
53 | 53 |
char **cmd_list_head, **cmd_list; |
54 | 54 |
|
55 |
info->version = g_strdup(QGA_VERSION);
|
|
55 |
info->version = g_strdup(QEMU_VERSION);
|
|
56 | 56 |
|
57 | 57 |
cmd_list_head = cmd_list = qmp_get_command_list(); |
58 | 58 |
if (*cmd_list_head == NULL) { |
b/qga/guest-agent-core.h | ||
---|---|---|
13 | 13 |
#include "qapi/qmp-core.h" |
14 | 14 |
#include "qemu-common.h" |
15 | 15 |
|
16 |
#define QGA_VERSION "1.0" |
|
17 | 16 |
#define QGA_READ_COUNT_DEFAULT 4096 |
18 | 17 |
|
19 | 18 |
typedef struct GAState GAState; |
Also available in: Unified diff