diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-10-12 14:15:33 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-10-21 05:00:44 +0200 |
commit | 90f8c0f947847e43e1315f03647a9039a458b1e1 (patch) | |
tree | a040fa89b849912d3d5fc50190933e6d5c9bbb0b /qapi/misc.json | |
parent | df7a1f48539580b47d6becf90c6489b4d7ebaa63 (diff) | |
download | qemu-90f8c0f947847e43e1315f03647a9039a458b1e1.zip qemu-90f8c0f947847e43e1315f03647a9039a458b1e1.tar.gz qemu-90f8c0f947847e43e1315f03647a9039a458b1e1.tar.bz2 |
qapi: Restrict 'system wakeup/reset/powerdown' commands to machine.json
Restricting system_wakeup/system_reset/system_powerdown to
machine.json pulls slightly less QAPI-generated code into
user-mode and tools.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201012121536.3381997-3-philmd@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/misc.json')
-rw-r--r-- | qapi/misc.json | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/qapi/misc.json b/qapi/misc.json index 3fe9cc2..90fd862 100644 --- a/qapi/misc.json +++ b/qapi/misc.json @@ -178,40 +178,6 @@ { 'command': 'stop' } ## -# @system_reset: -# -# Performs a hard reset of a guest. -# -# Since: 0.14.0 -# -# Example: -# -# -> { "execute": "system_reset" } -# <- { "return": {} } -# -## -{ 'command': 'system_reset' } - -## -# @system_powerdown: -# -# Requests that a guest perform a powerdown operation. -# -# Since: 0.14.0 -# -# Notes: A guest may or may not respond to this command. This command -# 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' } - -## # @memsave: # # Save a portion of guest memory to a file. @@ -319,29 +285,6 @@ { 'command': 'x-exit-preconfig', 'allow-preconfig': true } ## -# @system_wakeup: -# -# Wake up guest from suspend. If the guest has wake-up from suspend -# support enabled (wakeup-suspend-support flag from -# query-current-machine), wake-up guest from suspend if the guest is -# in SUSPENDED state. Return an error otherwise. -# -# Since: 1.1 -# -# Returns: nothing. -# -# Note: prior to 4.0, this command does nothing in case the guest -# isn't suspended. -# -# Example: -# -# -> { "execute": "system_wakeup" } -# <- { "return": {} } -# -## -{ 'command': 'system_wakeup' } - -## # @human-monitor-command: # # Execute a command on the human monitor and return the output. |