[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] watchdog: Allow setting action on the fly
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] watchdog: Allow setting action on the fly |
Date: |
Tue, 05 Sep 2017 14:01:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Michal Privoznik <address@hidden> writes:
> On 09/05/2017 01:50 PM, Markus Armbruster wrote:
>>
>> @action needs to be a QAPI enum. It'll replace the #defines in
>> watchdog. select_watchdog_action() then calls qapi_enum_parse() to map
>> string to enum, and qmp_watchdog_set_action() to make the actual change.
>
> Oh, okay. Sure, I can do that. I guess it makes the set of actions
> introspectable?
Yes!