diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-03-25 11:45:02 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2024-03-26 06:36:08 +0100 |
commit | b2913cc2a1825d70b9985613447b26d672df5418 (patch) | |
tree | 21460c360c570f58020b139e36de0dce04f40578 | |
parent | 6087783ea75030fe70f1b369cfd9d3c25bc2dadf (diff) | |
download | qemu-b2913cc2a1825d70b9985613447b26d672df5418.zip qemu-b2913cc2a1825d70b9985613447b26d672df5418.tar.gz qemu-b2913cc2a1825d70b9985613447b26d672df5418.tar.bz2 |
qapi: document leftover members in qapi/run-state.json
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240325104502.1358693-1-pbonzini@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Capitalize "ID", update qapi/pragma.json]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | qapi/pragma.json | 4 | ||||
-rw-r--r-- | qapi/run-state.json | 26 |
2 files changed, 26 insertions, 4 deletions
diff --git a/qapi/pragma.json b/qapi/pragma.json index 92715d2..1a30298 100644 --- a/qapi/pragma.json +++ b/qapi/pragma.json @@ -57,7 +57,6 @@ 'DummyForceArrays', 'DummyVirtioForceArrays', 'GrabToggleKeys', - 'GuestPanicInformationHyperV', 'HotKeyMod', 'ImageInfoSpecificKind', 'InputAxis', @@ -93,8 +92,7 @@ 'query-cpu-model-expansion', 'query-rocker', 'query-rocker-ports', - 'query-stats-schemas', - 'watchdog-set-action' ], + 'query-stats-schemas' ], # Externally visible types whose member names may use uppercase 'member-name-exceptions': [ # visible in: 'ACPISlotType', # query-acpi-ospm-status diff --git a/qapi/run-state.json b/qapi/run-state.json index 5f07444..f8773f2 100644 --- a/qapi/run-state.json +++ b/qapi/run-state.json @@ -376,9 +376,17 @@ ## # @watchdog-set-action: # -# Set watchdog action +# Set watchdog action. +# +# @action: @WatchdogAction action taken when watchdog timer expires. # # Since: 2.11 +# +# Example: +# +# -> { "execute": "watchdog-set-action", +# "arguments": { "action": "inject-nmi" } } +# <- { "return": {} } ## { 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} } @@ -504,6 +512,22 @@ # # Hyper-V specific guest panic information (HV crash MSRs) # +# @arg1: for Windows, STOP code for the guest crash. For Linux, +# an error code. +# +# @arg2: for Windows, first argument of the STOP. For Linux, the +# guest OS ID, which has the kernel version in bits 16-47 +# and 0x8100 in bits 48-63. +# +# @arg3: for Windows, second argument of the STOP. For Linux, the +# program counter of the guest. +# +# @arg4: for Windows, third argument of the STOP. For Linux, the +# RAX register (x86) or the stack pointer (aarch64) of the guest. +# +# @arg5: for Windows, fourth argument of the STOP. For x86 Linux, the +# stack pointer of the guest. +# # Since: 2.9 ## {'struct': 'GuestPanicInformationHyperV', |