mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
docs: fix changed API calls
Signed-off-by: Oleg Vasilev <oleg.vasilev@virtuozzo.com>
This commit is contained in:
parent
bc2c392bd1
commit
794c583f46
@ -79,7 +79,7 @@ The sequence of calling ``qemuMigrationJob*`` helper methods is as follows:
|
|||||||
it active::
|
it active::
|
||||||
|
|
||||||
qemuMigrationJobStart(driver, vm, VIR_JOB_MIGRATION_{IN,OUT});
|
qemuMigrationJobStart(driver, vm, VIR_JOB_MIGRATION_{IN,OUT});
|
||||||
qemuMigrationJobSetPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
|
qemuMigrationJobSetPhase(vm, QEMU_MIGRATION_PHASE_*);
|
||||||
...do work...
|
...do work...
|
||||||
qemuMigrationJobContinue(vm);
|
qemuMigrationJobContinue(vm);
|
||||||
|
|
||||||
@ -97,9 +97,9 @@ The sequence of calling ``qemuMigrationJob*`` helper methods is as follows:
|
|||||||
return;
|
return;
|
||||||
qemuMigrationJobStartPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
|
qemuMigrationJobStartPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
|
||||||
...do work...
|
...do work...
|
||||||
qemuMigrationJobFinish(driver, vm);
|
qemuMigrationJobFinish(vm);
|
||||||
|
|
||||||
While migration job is running (i.e., after ``qemuMigrationJobStart*`` but before
|
While migration job is running (i.e., after ``qemuMigrationJobStart*`` but before
|
||||||
``qemuMigrationJob{Continue,Finish}``), migration phase can be advanced using::
|
``qemuMigrationJob{Continue,Finish}``), migration phase can be advanced using::
|
||||||
|
|
||||||
qemuMigrationJobSetPhase(driver, vm, QEMU_MIGRATION_PHASE_*);
|
qemuMigrationJobSetPhase(vm, QEMU_MIGRATION_PHASE_*);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user