qemu-e2k/include/migration
Dr. David Alan Gilbert 89c5684891 migration: Add canary to VMSTATE_END_OF_LIST
We fairly regularly forget VMSTATE_END_OF_LIST markers off descriptions;
given that the current check is only for ->name being NULL, sometimes
we get unlucky and the code apparently works and no one spots the error.

Explicitly add a flag, VMS_END that should be set, and assert it is
set during the traversal.

Note: This can't go in until we update the copy of vmstate.h in slirp.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2023-02-06 19:22:56 +01:00
..
blocker.h migration: Add migrate_add_blocker_internal() 2021-11-01 22:56:44 +01:00
colo.h Fixed a QEMU hang when guest poweroff in COLO mode 2021-12-15 10:31:42 +01:00
cpu.h
failover.h
global_state.h
misc.h migration/ram: Factor out check for advised postcopy 2023-02-06 19:22:56 +01:00
qemu-file-types.h
register.h migration: Remove unused threshold_size parameter 2023-02-06 19:22:56 +01:00
snapshot.h migration: introduce a delete_snapshot wrapper 2021-02-08 11:19:51 +00:00
vmstate.h migration: Add canary to VMSTATE_END_OF_LIST 2023-02-06 19:22:56 +01:00