Tejus GK <tejus...@nutanix.com> wrote: > Currently, a few code paths exist in the function vmstate_save_state_v, > which ultimately leads to a migration failure. However, an update in the > current MigrationState for the error description is never done. > > vmstate.c somehow doesn't seem to allow the use of migrate_set_error due > to some dependencies for unit tests. Hence, this patch introduces a new > function vmstate_save_state_with_err, which will eventually propagate > the error message to savevm.c where a migrate_set_error call can be > eventually done. > > Acked-by: Peter Xu <pet...@redhat.com> > Signed-off-by: Tejus GK <tejus...@nutanix.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>