qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qapi: document leftover members in qapi/run-state.json


From: Markus Armbruster
Subject: Re: [PATCH] qapi: document leftover members in qapi/run-state.json
Date: Mon, 25 Mar 2024 13:56:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]