The qemuMigrationPrepareDirect/PrepareTunnel methods accidentally
set the domain job to QEMU_JOB_MIGRATION_OUT when it should have
been QEMU_JOB_MIGRATION_IN. This didn't have any ill-effect, but
it is none-the-less wrong.
* src/qemu/qemu_migration.c: Fix job type
if (qemuDomainObjBeginJobWithDriver(driver, vm) < 0)
goto cleanup;
- priv->jobActive = QEMU_JOB_MIGRATION_OUT;
+ priv->jobActive = QEMU_JOB_MIGRATION_IN;
/* Domain starts inactive, even if the domain XML had an id field. */
vm->def->id = -1;
if (qemuDomainObjBeginJobWithDriver(driver, vm) < 0)
goto cleanup;
- priv->jobActive = QEMU_JOB_MIGRATION_OUT;
+ priv->jobActive = QEMU_JOB_MIGRATION_IN;
/* Domain starts inactive, even if the domain XML had an id field. */
vm->def->id = -1;