Re: [PATCH 4/5] RFC: migration: check required subsections are loaded, once

2023-10-04 Thread Peter Xu
On Tue, Sep 26, 2023 at 07:59:24PM +0400, marcandre.lur...@redhat.com wrote: > @@ -484,6 +513,13 @@ static int vmstate_subsection_load(QEMUFile *f, const > VMStateDescription *vmsd, > } > } > > +for (i = 0; i < n; i++) { > +if (!visited[i] &&

[PATCH 4/5] RFC: migration: check required subsections are loaded, once

2023-09-26 Thread marcandre . lureau
From: Marc-André Lureau Check that required subsections have been loaded. Signed-off-by: Marc-André Lureau --- migration/vmstate.c | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/migration/vmstate.c b/migration/vmstate.c index