[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/30] qmp-commands: move 'human-monitor-command' do
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 08/30] qmp-commands: move 'human-monitor-command' doc to schema |
Date: |
Thu, 22 Sep 2016 13:22:43 +0400 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
docs/qmp-commands.txt | 33 ---------------------------------
qapi-schema.json | 17 ++++++++++++++---
2 files changed, 14 insertions(+), 36 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 6d43415..c3b813f 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1212,39 +1212,6 @@ Example:
Note: This command must be issued before issuing any other command.
-human-monitor-command
----------------------
-
-Execute a Human Monitor command.
-
-Arguments:
-
-- command-line: the command name and its arguments, just like the
- Human Monitor's shell (json-string)
-- cpu-index: select the CPU number to be used by commands which access CPU
- data, like 'info registers'. The Monitor selects CPU 0 if this
- argument is not provided (json-int, optional)
-
-Example:
-
--> { "execute": "human-monitor-command", "arguments": { "command-line": "info
kvm" } }
-<- { "return": "kvm support: enabled\r\n" }
-
-Notes:
-
-(1) The Human Monitor is NOT an stable interface, this means that command
- names, arguments and responses can change or be removed at ANY time.
- Applications that rely on long term stability guarantees should NOT
- use this command
-
-(2) Limitations:
-
- o This command is stateless, this means that commands that depend
- on state information (such as getfd) might not work
-
- o Commands that prompt the user for data (eg. 'cont' when the block
- device is encrypted) don't currently work
-
3. Query Commands
=================
diff --git a/qapi-schema.json b/qapi-schema.json
index b2d00dc..5142818 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2464,15 +2464,26 @@
# Since: 0.14.0
#
# Notes: This command only exists as a stop-gap. Its use is highly
-# discouraged. The semantics of this command are not guaranteed.
+# discouraged. The semantics of this command are not
+# guaranteed: this means that command names, arguments and
+# responses can change or be removed at ANY time. Applications
+# that rely on long term stability guarantees should NOT
+# use this command.
#
# Known limitations:
#
# o This command is stateless, this means that commands that depend
# on state information (such as getfd) might not work
#
-# o Commands that prompt the user for data (eg. 'cont' when the block
-# device is encrypted) don't currently work
+# o Commands that prompt the user for data (eg. 'cont' when the block
+# device is encrypted) don't currently work
+#
+# Example:
+#
+# -> { "execute": "human-monitor-command",
+# "arguments": { "command-line": "info kvm" } }
+# <- { "return": "kvm support: enabled\r\n" }
+#
##
{ 'command': 'human-monitor-command',
'data': {'command-line': 'str', '*cpu-index': 'int'},
--
2.10.0
- [Qemu-devel] [PATCH 00/30] Move qapi documentation to schema (part 2/5), Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 01/30] qmp-commands: move 'pmemsave' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 02/30] qmp-commands: move 'cont' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 03/30] qmp-commands: move 'system_wakeup' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 04/30] qmp-commands: move 'inject-nmi' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 05/30] qmp-commands: move 'set_link' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 06/30] qmp-commands: move 'balloon' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 07/30] qmp-commands: move 'transaction' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 08/30] qmp-commands: move 'human-monitor-command' doc to schema,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 09/30] qmp-commands: move 'migrate_cancel' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 10/30] qmp-commands: move 'migrate_set_downtime' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 11/30] qmp-commands: move 'migrate_set_speed' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 12/30] qmp-commands: move 'query-migrate-cache-size' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 13/30] qmp-commands: move 'set_password' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 14/30] qmp-commands: move 'expire_password' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 15/30] qmp-commands: move 'change' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 16/30] qmp-commands: move 'migrate' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 17/30] qmp-commands: move 'migrate-incoming' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 18/30] qmp-commands: move 'xen-save-devices-state' doc to schema, Marc-André Lureau, 2016/09/22