]> git.proxmox.com Git - mirror_qemu.git/commit - hw/watchdog/wdt_diag288.c
watchdog.h: Drop local redefinition of actions enum
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Sep 2017 08:05:25 +0000 (10:05 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 2 Oct 2017 06:41:03 +0000 (08:41 +0200)
commit4c7f4426c454f5787154b86406188d90d4c1b267
treede21323081956f154217a39d34dc667174b823c0
parent14d53b4f4a88e82b4e62907ec64feafac1986531
watchdog.h: Drop local redefinition of actions enum

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 <mprivozn@redhat.com>
Message-Id: <ce2790634e6a1b3b6cf90462399d17bad83f0290.1504771369.git.mprivozn@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/watchdog/watchdog.c
hw/watchdog/wdt_diag288.c
include/sysemu/watchdog.h