Received: from eggs.gnu.org ([2001:4830:134:3::10]:48521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnNf-0005Wx-0X for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjnNZ-0004rb-Uv for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:04:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnNZ-0004rR-Pj for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:04:01 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 414409D0F5 for ; Tue, 13 Sep 2016 13:04:01 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 13 Sep 2016 17:02:07 +0400 Message-Id: <20160913130209.695-29-marcandre.lureau@redhat.com> In-Reply-To: <20160913130209.695-1-marcandre.lureau@redhat.com> References: <20160913130209.695-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 28/30] qmp-commands: move 'system_powerdown' 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 | 12 ------------ qapi-schema.json | 5 +++++ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 9bd5afa..5b562df 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -135,18 +135,6 @@ Example: -> { "execute": "system_wakeup" } <- { "return": {} } =20 -system_powerdown ----------------- - -Send system power down event. - -Arguments: None. - -Example: - --> { "execute": "system_powerdown" } -<- { "return": {} } - device_add ---------- =20 diff --git a/qapi-schema.json b/qapi-schema.json index cb90e9e..13a1417 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2089,6 +2089,11 @@ # returning does not indicate that a guest has accepted the reque= st or # that it has shut down. Many guests will respond to this comman= d by # prompting the user in some way. +# Example: +# +# -> { "execute": "system_powerdown" } +# <- { "return": {} } +# ## { 'command': 'system_powerdown' } =20 --=20 2.10.0