Michal Privoznik <mpriv...@redhat.com> 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!