mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03: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::
|
||||
|
||||
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_*);
|
||||
|
Loading…
Reference in New Issue
Block a user