mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
qmp-commands: move 'human-monitor-command' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
5c82b0f198
commit
e9ac76acd7
2 changed files with 12 additions and 34 deletions
|
@ -1228,39 +1228,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
|
||||
=================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue