From: Markus Armbruster <armbru@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: Michal Privoznik <mprivozn@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v4 3/3] watchdog: Allow setting action on the fly
Date: Wed, 06 Sep 2017 19:15:32 +0200 [thread overview]
Message-ID: <8760cvsq8b.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <a0f4b8e2-cdc3-e342-0cd2-3b144ad5cc7f@redhat.com> (Eric Blake's message of "Wed, 6 Sep 2017 10:39:18 -0500")
Eric Blake <eblake@redhat.com> 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 <mprivozn@redhat.com>
>> ---
>> 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 <eblake@redhat.com>
next prev parent reply other threads:[~2017-09-06 17:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-06 11:24 [Qemu-devel] [PATCH v4 0/3] watchdog: Allow setting action on the fly Michal Privoznik
2017-09-06 11:24 ` [Qemu-devel] [PATCH v4 1/3] qapi: Rename WatchdogExpirationAction enum Michal Privoznik
2017-09-06 15:34 ` Eric Blake
2017-09-06 11:24 ` [Qemu-devel] [PATCH v4 2/3] watchdog.h: Drop local redefinition of actions enum Michal Privoznik
2017-09-06 15:37 ` Eric Blake
2017-09-06 17:25 ` Markus Armbruster
2017-09-07 7:56 ` Michal Privoznik
2017-09-07 9:02 ` Markus Armbruster
2017-09-06 11:24 ` [Qemu-devel] [PATCH v4 3/3] watchdog: Allow setting action on the fly Michal Privoznik
2017-09-06 15:39 ` Eric Blake
2017-09-06 17:15 ` Markus Armbruster [this message]
2017-09-06 15:32 ` [Qemu-devel] [PATCH v4 0/3] " Markus Armbruster
2017-09-06 15:37 ` Richard W.M. Jones
2017-09-06 15:41 ` Michal Privoznik
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=8760cvsq8b.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=mprivozn@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.