From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41342 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwglu-0001d2-5j for qemu-devel@nongnu.org; Mon, 07 Mar 2011 15:11:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pwgls-0006Sr-Ur for qemu-devel@nongnu.org; Mon, 07 Mar 2011 15:11:14 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:37136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwgls-0006SP-Qx for qemu-devel@nongnu.org; Mon, 07 Mar 2011 15:11:12 -0500 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [9.56.224.85]) by e1.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p27K1MPc013172 for ; Mon, 7 Mar 2011 15:01:22 -0500 Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id C38346E803C for ; Mon, 7 Mar 2011 15:11:11 -0500 (EST) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p27KBBdM238070 for ; Mon, 7 Mar 2011 15:11:11 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p27KBBYL012527 for ; Mon, 7 Mar 2011 15:11:11 -0500 From: Michael Roth Date: Mon, 7 Mar 2011 14:10:35 -0600 Message-Id: <1299528642-23631-10-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1299528642-23631-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1299528642-23631-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC][PATCH v7 09/16] virtagent: add va_capabilities HMP/QMP command List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: agl@linux.vnet.ibm.com, stefanha@linux.vnet.ibm.com, Jes.Sorensen@redhat.com, mdroth@linux.vnet.ibm.com, markus_mueller@de.ibm.com, aliguori@linux.vnet.ibm.com, abeekhof@redhat.com Signed-off-by: Michael Roth --- 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