summaryrefslogtreecommitdiffstats
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorLei Li2013-03-05 10:39:12 +0100
committerMichael Roth2013-03-12 00:53:47 +0100
commita1bca57f758a1ebe2ee808aa6c94f7687f9cfdd0 (patch)
tree1e1ad065cf1c44521c3cafe668f660b0e1582bed /qga/commands-win32.c
parentqga: add guest-get-time command (diff)
downloadqemu-a1bca57f758a1ebe2ee808aa6c94f7687f9cfdd0.tar.gz
qemu-a1bca57f758a1ebe2ee808aa6c94f7687f9cfdd0.tar.xz
qemu-a1bca57f758a1ebe2ee808aa6c94f7687f9cfdd0.zip
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)
{