[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 3/3] watchdog: Allow setting action on the fl
|
From: |
Markus Armbruster |
|
Subject: |
Re: [Qemu-devel] [PATCH v4 3/3] watchdog: Allow setting action on the fly |
|
Date: |
Wed, 06 Sep 2017 19:15:32 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 09/06/2017 06:24 AM, Michal Privoznik wrote:
>> Currently, the only time that users can set watchdog action is at
>> the start as all we expose is this -watchdog-action command line
>> argument. This is suboptimal when users want to plug the device
>> later via monitor. Alternatively, they might want to change the
>> action for already existing device on the fly.
>>
>> Inspired by: https://bugzilla.redhat.com/show_bug.cgi?id=1447169
>>
>> Signed-off-by: Michal Privoznik <address@hidden>
>> ---
>> hw/watchdog/watchdog.c | 8 +++++++-
>> qapi-schema.json | 9 +++++++++
>> 2 files changed, 16 insertions(+), 1 deletion(-)
>>
>
>> +++ b/qapi-schema.json
>> @@ -3143,3 +3143,12 @@
>> # Since 2.9
>> ##
>> { 'command': 'query-vm-generation-id', 'returns': 'GuidInfo' }
>> +
>> +##
>> +# @watchdog-set-action:
>> +#
>> +# Set watchdog action
>> +#
>> +# Since 2.11
>> +##
>> +{ 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} }
>
> Markus went to some effort to sort the documentation output; is plopping
> this at the end of the file the best location?
This patch won't regress any of my work, as I only moved stuff out of
qapi-schema-json, I didn't reorder within.
> Otherwise,
> Reviewed-by: Eric Blake <address@hidden>
Re: [Qemu-devel] [PATCH v4 0/3] watchdog: Allow setting action on the fly, Markus Armbruster, 2017/09/06