Re: [PATCH v4 01/11] migration: Propagate error in postcopy setup functions
Juraj Marcin <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <annpOewt7RS5GjBA@fedora> |
On 2026-08-01 08:06, Aadeshveer Singh wrote: > Modernize error handling in postcopy_ram_incoming_setup() and > postcopy_temp_pages_setup() by replacing error_reports and local error > handling with standard Error propagation. > > Replace use of strerror() on errno with error_setg_errno() for modular > handling of errors and change return values to -1 on failure as no > caller checks the actual return value. > > Signed-off-by: Aadeshveer Singh <[email protected]> > Reviewed-by: Peter Xu <[email protected]> > --- > migration/postcopy-ram.c | 41 +++++++++++++++++----------------------- > migration/postcopy-ram.h | 2 +- > 2 files changed, 18 insertions(+), 25 deletions(-) Reviewed-by: Juraj Marcin <[email protected]>