qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	Michal Privoznik <mprivozn@redhat.com>
Subject: Re: [PATCH] qapi: document leftover members in qapi/run-state.json
Date: Mon, 25 Mar 2024 13:56:42 +0100	[thread overview]
Message-ID: <87plvilbat.fsf@pond.sub.org> (raw)
In-Reply-To: <CABgObfbDa57=+tJ_t=nFWY=CnZJq2Kkx7Wdc=PL93NB6yFVBEA@mail.gmail.com> (Paolo Bonzini's message of "Mon, 25 Mar 2024 13:04:14 +0100")

Paolo Bonzini <pbonzini@redhat.com> writes:

> Il lun 25 mar 2024, 12:36 Markus Armbruster <armbru@redhat.com> ha scritto:
>
>> 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!
>
> It may even be worth deprecating the command, since action-set is a clean
> superset. But I didn't check if libvirt knows about action-set and it's
> cheap enough to implement watchdog-set-action as well.

Quick grep...  libvirt appears to use watchdog-set-action, but not
action-set.

>> @@ -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?
>>
>
> Go ahead if you are going to queue it.

Done.

Queued, thanks!

[...]



  reply	other threads:[~2024-03-25 12:57 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
2024-03-25 12:04   ` Paolo Bonzini
2024-03-25 12:56     ` Markus Armbruster [this message]
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=87plvilbat.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=mprivozn@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).