aboutsummaryrefslogtreecommitdiff
path: root/qga/qapi-schema.json
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/qapi-schema.json
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/qapi-schema.json')
-rw-r--r--qga/qapi-schema.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index d91d903256..bb0f75ee5d 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -83,6 +83,19 @@
{ 'command': 'guest-ping' }
##
+# @guest-get-time:
+#
+# Get the information about guest time relative to the Epoch
+# of 1970-01-01 in UTC.
+#
+# Returns: Time in nanoseconds.
+#
+# Since 1.5
+##
+{ 'command': 'guest-get-time',
+ 'returns': 'int' }
+
+##
# @GuestAgentCommandInfo:
#
# Information about guest agent commands.