mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Document virDomainAbortJob behavior for post-copy migration
https://bugzilla.redhat.com/show_bug.cgi?id=1389313 Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
6461510386
commit
9e8164d2f9
@ -8702,7 +8702,9 @@ virDomainGetJobStats(virDomainPtr domain,
|
|||||||
* @domain: a domain object
|
* @domain: a domain object
|
||||||
*
|
*
|
||||||
* Requests that the current background job be aborted at the
|
* Requests that the current background job be aborted at the
|
||||||
* soonest opportunity.
|
* soonest opportunity. In case the job is a migration in a post-copy mode,
|
||||||
|
* virDomainAbortJob will report an error (see virDomainMigrateStartPostCopy
|
||||||
|
* for more details).
|
||||||
*
|
*
|
||||||
* Returns 0 in case of success and -1 in case of failure.
|
* Returns 0 in case of success and -1 in case of failure.
|
||||||
*/
|
*/
|
||||||
@ -8976,7 +8978,8 @@ virDomainMigrateGetMaxSpeed(virDomainPtr domain,
|
|||||||
* rolled back because none of the hosts has complete state. If this happens,
|
* rolled back because none of the hosts has complete state. If this happens,
|
||||||
* libvirt will leave the domain paused on both hosts with
|
* libvirt will leave the domain paused on both hosts with
|
||||||
* VIR_DOMAIN_PAUSED_POSTCOPY_FAILED reason. It's up to the upper layer to
|
* VIR_DOMAIN_PAUSED_POSTCOPY_FAILED reason. It's up to the upper layer to
|
||||||
* decide what to do in such case.
|
* decide what to do in such case. Because of this, libvirt will refuse to
|
||||||
|
* cancel post-copy migration via virDomainAbortJob.
|
||||||
*
|
*
|
||||||
* The following domain life cycle events are emitted during post-copy
|
* The following domain life cycle events are emitted during post-copy
|
||||||
* migration:
|
* migration:
|
||||||
|
Loading…
Reference in New Issue
Block a user