[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC][PATCH v7 09/16] virtagent: add va_capabilities HMP/QM
From: |
Michael Roth |
Subject: |
[Qemu-devel] [RFC][PATCH v7 09/16] virtagent: add va_capabilities HMP/QMP command |
Date: |
Mon, 7 Mar 2011 14:10:35 -0600 |
Signed-off-by: Michael Roth <address@hidden>
---
hmp-commands.hx | 16 ++++++++++++++++
qmp-commands.hx | 33 +++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 372bef4..86817e2 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1364,6 +1364,22 @@ show available trace events and their state
ETEXI
#endif
+ {
+ .name = "va_capabilities",
+ .args_type = "",
+ .params = "",
+ .help = "Fetch and re-negotiate guest agent capabilties",
+ .user_print = do_va_capabilities_print,
+ .mhandler.cmd_async = do_va_capabilities,
+ .flags = MONITOR_CMD_ASYNC,
+ },
+
+STEXI
address@hidden va_capabilities
address@hidden va_capabilities
+Fetch and re-negotiate guest agent capabilties
+ETEXI
+
STEXI
@end table
ETEXI
diff --git a/qmp-commands.hx b/qmp-commands.hx
index df40a3d..e1092dd 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -858,6 +858,39 @@ Example:
EQMP
{
+ .name = "va_capabilities",
+ .args_type = "",
+ .params = "",
+ .help = "Fetch and re-negotiate guest agent capabilities",
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_async = do_va_capabilities,
+ .flags = MONITOR_CMD_ASYNC,
+ },
+
+STEXI
address@hidden va_capabilities
address@hidden va_capabilities
+Fetch and re-negotiate guest agent capabilities
+ETEXI
+SQMP
+va_capabilities
+--------
+
+Fetch and re-negotiate guest agent capabilities
+
+Arguments:
+
+(none)
+
+Example:
+
+-> { "execute": "va_capabilities" }
+<- { "return": { "methods": ["capabilities", "shutdown", "ping", ... ],
+ "version": "1.0" }}
+
+EQMP
+
+ {
.name = "qmp_capabilities",
.args_type = "",
.params = "",
--
1.7.0.4