qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 2/2] watchdog: Allow setting action on the fl


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH v3 2/2] watchdog: Allow setting action on the fly
Date: Wed, 6 Sep 2017 10:04:42 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Wed, Sep 06, 2017 at 10:58:54AM +0200, 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.
> 
> At the same time, drop local redefinition of the actions enum in
> watchdog.h in favour of the ones defined in schema and thus kills
> code duplication.

Nit-pick - I'd suggest 2 separat patches - one that drops the enum
redefinition, and the second which adds the new monitor command.
That way you separate no-op refactoring, from new features.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

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