From: Marc-André Lureau <marcandre.lur...@redhat.com> Hi,
To my surprise, QEMU didn't seem to check that required migration entries and subsections are loaded. I took a naive approach to add such check, by adding some "visited" marks along the loading path, and checking by the end that all required entries have been loaded. Note, I haven't thoroughly tested it yet (it passed make check on x86 targets with the preliminary "fixes" applied). Comments welcome! Marc-André Lureau (5): block/fdc: 'phase' is not needed on load virtio: make endian_needed() work during loading net/slirp: use different IDs for each instance RFC: migration: check required subsections are loaded, once RFC: migration: check required entries are loaded, once hw/block/fdc.c | 5 +++++ hw/virtio/virtio.c | 6 +++++- migration/savevm.c | 43 +++++++++++++++++++++++++++++++++++++++++++ migration/vmstate.c | 40 ++++++++++++++++++++++++++++++++++++++-- net/slirp.c | 3 ++- 5 files changed, 93 insertions(+), 4 deletions(-) -- 2.41.0