aboutsummaryrefslogtreecommitdiff
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorLei Li <lilei@linux.vnet.ibm.com>2013-03-05 17:39:12 +0800
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-03-11 18:53:47 -0500
commita1bca57f758a1ebe2ee808aa6c94f7687f9cfdd0 (patch)
tree1e1ad065cf1c44521c3cafe668f660b0e1582bed /qga/commands-win32.c
parent6912e6a94cb0a1d650271103efbc3ac2299e4fd0 (diff)
qga: add guest-set-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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 3ebb856bea..622c74dd88 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -284,6 +284,11 @@ int64_t qmp_guest_get_time(Error **errp)
return -1;
}
+void qmp_guest_set_time(int64_t time_ns, Error **errp)
+{
+ error_set(errp, QERR_UNSUPPORTED);
+}
+
/* register init/cleanup routines for stateful command groups */
void ga_command_state_init(GAState *s, GACommandState *cs)
{