aboutsummaryrefslogtreecommitdiff
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorLei Li <lilei@linux.vnet.ibm.com>2013-03-05 17:39:11 +0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-03-11 18:53:47 -0500
commit6912e6a94cb0a1d650271103efbc3ac2299e4fd0 (patch)
tree98107fcb7f066e3a24ffc5fdf566d67526f8e382 /qga/commands-win32.c
parent39097daf15c42243742667607d2cad2c9dc4f764 (diff)
qga: add guest-get-time command
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> *added stub for w32 Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/commands-win32.c')
-rw-r--r--qga/commands-win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 7e8ecb3b40..3ebb856bea 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -278,6 +278,12 @@ GuestNetworkInterfaceList *qmp_guest_network_get_interfaces(Error **err)
return NULL;
}
+int64_t qmp_guest_get_time(Error **errp)
+{
+ error_set(errp, QERR_UNSUPPORTED);
+ return -1;
+}
+
/* register init/cleanup routines for stateful command groups */
void ga_command_state_init(GAState *s, GACommandState *cs)
{