Re: [PATCH v2 5/9] migration: check required subsections are loaded, once

2023-10-24 Thread Peter Xu
On Tue, Oct 24, 2023 at 12:41:56PM +0200, Juan Quintela wrote: > > @@ -509,6 +538,13 @@ static int vmstate_subsection_load(QEMUFile *f, const > > VMStateDescription *vmsd, > > } > > } > > > > +for (i = 0; i < n; i++) { > > +if (!visited[i] && vmstate_section_needed(vmsd

Re: [PATCH v2 5/9] migration: check required subsections are loaded, once

2023-10-24 Thread Juan Quintela
marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Check that required subsections have been loaded. > > Signed-off-by: Marc-André Lureau Reviewed-by: Juan Quintela I will let other people to comment on this before merging. I can see the (pontential problem) that Peter said: We