From: Markus Armbruster <armbru@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] qapi: document leftover members in qapi/run-state.json
Date: Mon, 25 Mar 2024 12:36:45 +0100 [thread overview]
Message-ID: <87o7b2mtki.fsf@pond.sub.org> (raw)
In-Reply-To: <20240325104502.1358693-1-pbonzini@redhat.com> (Paolo Bonzini's message of "Mon, 25 Mar 2024 11:45:02 +0100")
Paolo Bonzini <pbonzini@redhat.com> writes:
> Suggested-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> qapi/run-state.json | 26 +++++++++++++++++++++++++-
> 1 file changed, 25 insertions(+), 1 deletion(-)
>
> diff --git a/qapi/run-state.json b/qapi/run-state.json
> index 789fc34559a..cb4a2b43293 100644
> --- a/qapi/run-state.json
> +++ b/qapi/run-state.json
> @@ -377,9 +377,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'} }
>
Appreciate the example!
> @@ -505,6 +513,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
Mind if I capitalize ID?
> +# 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',
Reviewed-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2024-03-25 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 10:45 [PATCH] qapi: document leftover members in qapi/run-state.json Paolo Bonzini
2024-03-25 11:36 ` Markus Armbruster [this message]
2024-03-25 12:04 ` Paolo Bonzini
2024-03-25 12:56 ` Markus Armbruster
2024-03-25 15:48 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7b2mtki.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.