Re: [PATCH 2/3] migration: Use error_setg instead of error_report

2025-06-24 Thread Peter Xu
On Tue, Jun 24, 2025 at 05:53:05PM +0530, Arun Menon wrote: > - This is an incremental step in converting vmstate > loading code to report error via Error object. > - error_report() has been replaced with error_setg(); > and in places where error has been already set, > error_prepend() is use

[PATCH 2/3] migration: Use error_setg instead of error_report

2025-06-24 Thread Arun Menon
- This is an incremental step in converting vmstate loading code to report error via Error object. - error_report() has been replaced with error_setg(); and in places where error has been already set, error_prepend() is used to not lose information. Signed-off-by: Arun Menon --- migration/