docs: fix changed API calls

Signed-off-by: Oleg Vasilev <oleg.vasilev@virtuozzo.com>
This commit is contained in:
Oleg Vasilev 2023-03-03 14:24:55 +06:00 committed by Daniel P. Berrangé
parent bc2c392bd1
commit 794c583f46

View File

@ -79,7 +79,7 @@ The sequence of calling ``qemuMigrationJob*`` helper methods is as follows:
it active::
qemuMigrationJobStart(driver, vm, VIR_JOB_MIGRATION_{IN,OUT});
qemuMigrationJobSetPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
qemuMigrationJobSetPhase(vm, QEMU_MIGRATION_PHASE_*);
...do work...
qemuMigrationJobContinue(vm);
@ -97,9 +97,9 @@ The sequence of calling ``qemuMigrationJob*`` helper methods is as follows:
return;
qemuMigrationJobStartPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
...do work...
qemuMigrationJobFinish(driver, vm);
qemuMigrationJobFinish(vm);
While migration job is running (i.e., after ``qemuMigrationJobStart*`` but before
``qemuMigrationJob{Continue,Finish}``), migration phase can be advanced using::
qemuMigrationJobSetPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
qemuMigrationJobSetPhase(vm, QEMU_MIGRATION_PHASE_*);