qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 28/30] qmp-commands: move 'system_powerdown' doc to


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 28/30] qmp-commands: move 'system_powerdown' doc to schema
Date: Tue, 13 Sep 2016 17:02:07 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 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": {} }
 
-system_powerdown
-----------------
-
-Send system power down event.
-
-Arguments: None.
-
-Example:
-
--> { "execute": "system_powerdown" }
-<- { "return": {} }
-
 device_add
 ----------
 
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 request or
 #        that it has shut down.  Many guests will respond to this command by
 #        prompting the user in some way.
+# Example:
+#
+# -> { "execute": "system_powerdown" }
+# <- { "return": {} }
+#
 ##
 { 'command': 'system_powerdown' }
 
-- 
2.10.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]