mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
migration: Use vmstate_register_any()
This are the easiest cases, where we were already using VMSTATE_INSTANCE_ID_ANY. Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231020090731.28701-3-quintela@redhat.com>
This commit is contained in:
parent
71daf640d9
commit
99b16e8ee4
11 changed files with 12 additions and 17 deletions
|
@ -247,7 +247,7 @@ static void adb_bus_realize(BusState *qbus, Error **errp)
|
|||
adb_bus->autopoll_timer = timer_new_ms(QEMU_CLOCK_VIRTUAL, adb_autopoll,
|
||||
adb_bus);
|
||||
|
||||
vmstate_register(NULL, -1, &vmstate_adb_bus, adb_bus);
|
||||
vmstate_register_any(NULL, &vmstate_adb_bus, adb_bus);
|
||||
}
|
||||
|
||||
static void adb_bus_unrealize(BusState *qbus)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue