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.
>
> Use warn_report() instead of error_report(); it ensures that
> a resume command received while the migration is not
> in postcopy recover state is not fatal. It only informs that
> the command received is unusual, and therefore we should not set
> errp with the error string.
>
> 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