mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
739b38630c
commit
b10cb62752
8 changed files with 14 additions and 7 deletions
|
@ -122,9 +122,10 @@ static void wdt_diag288_class_init(ObjectClass *klass, void *data)
|
|||
dc->unrealize = wdt_diag288_unrealize;
|
||||
dc->reset = wdt_diag288_reset;
|
||||
dc->hotpluggable = false;
|
||||
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
|
||||
set_bit(DEVICE_CATEGORY_WATCHDOG, dc->categories);
|
||||
dc->vmsd = &vmstate_diag288;
|
||||
diag288->handle_timer = wdt_diag288_handle_timer;
|
||||
dc->desc = "diag288 device for s390x platform";
|
||||
}
|
||||
|
||||
static const TypeInfo wdt_diag288_info = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue