aboutsummaryrefslogtreecommitdiff
path: root/hw/watchdog/wdt_ib700.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-10-27 14:34:53 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-11-02 15:57:27 +0100
commitb10cb627526a19df97b56ac42381ad1104297d16 (patch)
treec3074f8c2ab06c374b02ad3e798f734c053db51d /hw/watchdog/wdt_ib700.c
parent739b38630c45585cd9d372d44537f69c0b2b4346 (diff)
downloadqemu-b10cb627526a19df97b56ac42381ad1104297d16.zip
qemu-b10cb627526a19df97b56ac42381ad1104297d16.tar.gz
qemu-b10cb627526a19df97b56ac42381ad1104297d16.tar.bz2
watchdog: add information from -watchdog help to -device help
List all watchdog devices in a separate category, and populate their descriptions. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/watchdog/wdt_ib700.c')
-rw-r--r--hw/watchdog/wdt_ib700.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/watchdog/wdt_ib700.c b/hw/watchdog/wdt_ib700.c
index 177aaa5..91d1bdc 100644
--- a/hw/watchdog/wdt_ib700.c
+++ b/hw/watchdog/wdt_ib700.c
@@ -140,7 +140,8 @@ static void wdt_ib700_class_init(ObjectClass *klass, void *data)
dc->realize = wdt_ib700_realize;
dc->reset = wdt_ib700_reset;
dc->vmsd = &vmstate_ib700;
- set_bit(DEVICE_CATEGORY_MISC, dc->categories);
+ set_bit(DEVICE_CATEGORY_WATCHDOG, dc->categories);
+ dc->desc = "iBASE 700";
}
static const TypeInfo wdt_ib700_info = {