On Thu, Sep 07, 2017 at 10:05:25AM +0200, Michal Privoznik wrote: > We already have enum that enumerates all the actions that a > watchdog can take when hitting its timeout: WatchdogAction. > Use that instead of inventing our own. > > Signed-off-by: Michal Privoznik <mpriv...@redhat.com> > --- > hw/watchdog/watchdog.c | 45 ++++++++++++++++++++------------------------- > hw/watchdog/wdt_diag288.c | 6 +++--- > include/sysemu/watchdog.h | 12 ++---------- > 3 files changed, 25 insertions(+), 38 deletions(-)
Reviewed-by: Daniel P. Berrange <berra...@redhat.com> 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 :|