Signed-off-by: Michael Roth <mdr...@linux.vnet.ibm.com> --- 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 +@item va_capabilities +@findex 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 +@item va_capabilities +@findex 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