On 2/4/21 6:18 PM, Daniel P. Berrangé wrote:
> This is an incremental step in converting vmstate loading code to report
> via Error objects instead of printing directly to the console/monitor.
>
> Signed-off-by: Daniel P. Berrangé <[email protected]>
> ---
> migration/savevm.c | 43 +++++++++++++++++++++----------------------
> 1 file changed, 21 insertions(+), 22 deletions(-)
...
>
> if (ram_postcopy_incoming_init(mis)) {
> + error_setg(errp, "Postcopy RAM incoming init failed");
We gain error precision, OK.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
> return -1;
> }