Arun Menon <arme...@redhat.com> writes:

> This is an incremental step in converting vmstate loading
> code to report error via Error objects instead of directly
> printing it to console/monitor.
> It is ensured that qemu_loadvm_state_main() must report an error
> in errp, in case of failure.
>
> Set errp explicitly if it is NULL in case of failure in the out
> section. This will be removed in the subsequent patch when all of
> the calls are converted to passing errp.
>
> The error message in the default case of qemu_loadvm_state_main()
> has the word "savevm". This is removed because it can confuse the
> user while reading destination side error logs.
>
> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>
> Signed-off-by: Arun Menon <arme...@redhat.com>

Reviewed-by: Fabiano Rosas <faro...@suse.de>

Reply via email to