Received: from eggs.gnu.org ([2001:4830:134:3::10]:37479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0EB-0000wU-JP for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:23:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0E7-0003Nh-QW for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:23:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0E7-0003Mh-JD for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:23:31 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 27B59A077A for ; Thu, 22 Sep 2016 09:23:31 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 22 Sep 2016 13:22:39 +0400 Message-Id: <20160922092305.2895-5-marcandre.lureau@redhat.com> In-Reply-To: <20160922092305.2895-1-marcandre.lureau@redhat.com> References: <20160922092305.2895-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 04/30] qmp-commands: move 'inject-nmi' doc to schema List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Signed-off-by: Marc-Andr=C3=A9 Lureau --- docs/qmp-commands.txt | 14 -------------- qapi-schema.json | 7 +++++++ 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 1c3e69f..c4caf9c 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -193,20 +193,6 @@ Example: =20 Note: CPUs' indexes are obtained with the 'query-cpus' command. =20 -inject-nmi ----------- - -Inject an NMI on the default CPU (x86/s390) or all CPUs (ppc64). - -Arguments: None. - -Example: - --> { "execute": "inject-nmi" } -<- { "return": {} } - -Note: inject-nmi fails when the guest doesn't support injecting. - xen-save-devices-state ------- =20 diff --git a/qapi-schema.json b/qapi-schema.json index 0eddc72..e8d6975 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2233,12 +2233,19 @@ # @inject-nmi: # # Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or al= l CPUs (ppc64). +# The command fails when the guest doesn't support injecting. # # Returns: If successful, nothing # # Since: 0.14.0 # # Note: prior to 2.1, this command was only supported for x86 and s390 V= Ms +# +# Example: +# +# -> { "execute": "inject-nmi" } +# <- { "return": {} } +# ## { 'command': 'inject-nmi' } =20 --=20 2.10.0