Skip to content

Commit

Permalink
qapi: document leftover members in qapi/run-state.json
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini authored and Markus Armbruster committed Mar 26, 2024
1 parent 6087783 commit b2913cc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
4 changes: 1 addition & 3 deletions qapi/pragma.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
'DummyForceArrays',
'DummyVirtioForceArrays',
'GrabToggleKeys',
'GuestPanicInformationHyperV',
'HotKeyMod',
'ImageInfoSpecificKind',
'InputAxis',
Expand Down Expand Up @@ -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
Expand Down
26 changes: 25 additions & 1 deletion qapi/run-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'} }

Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit b2913cc

Please sign in to comment.