Re: [PATCH v2 7/9] migration: set file error on subsection loading

2023-10-24 Thread Juan Quintela
marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > commit 13cde50889237 ("vmstate: Return error in case of error") sets > QemuFile error to stop reading from it and report to the caller (checked > by unit tests). We should do the same on subsection loading error. > > Signed-off-by:

[PATCH v2 7/9] migration: set file error on subsection loading

2023-10-24 Thread marcandre . lureau
From: Marc-André Lureau commit 13cde50889237 ("vmstate: Return error in case of error") sets QemuFile error to stop reading from it and report to the caller (checked by unit tests). We should do the same on subsection loading error. Signed-off-by: Marc-André Lureau --- migration/vmstate.c | 1