On Fri, Jun 30, 2023 at 06:29:01PM -0300, Fabiano Rosas wrote: > There is currently no way to write a test for errors that happened in > qmp_migrate before the migration has started. > > Add a version of qmp_migrate that ensures an error happens. To make > use of it a test needs to set MigrateCommon.result as > MIG_TEST_QMP_ERROR. > > Signed-off-by: Fabiano Rosas <faro...@suse.de>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu