summaryrefslogtreecommitdiffstats
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorLei Li2013-03-05 10:39:11 +0100
committerMichael Roth2013-03-12 00:53:47 +0100
commit6912e6a94cb0a1d650271103efbc3ac2299e4fd0 (patch)
tree98107fcb7f066e3a24ffc5fdf566d67526f8e382 /qga/commands-win32.c
parentqemu-ga: use key-value store to avoid recycling fd handles after restart (diff)
downloadqemu-6912e6a94cb0a1d650271103efbc3ac2299e4fd0.tar.gz
qemu-6912e6a94cb0a1d650271103efbc3ac2299e4fd0.tar.xz
qemu-6912e6a94cb0a1d650271103efbc3ac2299e4fd0.zip
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)
{