mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
blockjob: document recent job addition
I noticed that the web page lacked documentation on block jobs: http://libvirt.org/html/libvirt-libvirt.html#virDomainBlockJobType not only for the recently added active commit, but also for all the other job types. * include/libvirt/libvirt.h.in (virDomainBlockJobType): Document recent addition. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
eb104e6255
commit
3de3294de1
@ -2501,19 +2501,26 @@ int virDomainUpdateDeviceFlags(virDomainPtr domain,
|
|||||||
/**
|
/**
|
||||||
* virDomainBlockJobType:
|
* virDomainBlockJobType:
|
||||||
*
|
*
|
||||||
* VIR_DOMAIN_BLOCK_JOB_TYPE_PULL: Block Pull (virDomainBlockPull, or
|
* Describes various possible block jobs.
|
||||||
* virDomainBlockRebase without flags), job ends on completion
|
|
||||||
* VIR_DOMAIN_BLOCK_JOB_TYPE_COPY: Block Copy (virDomainBlockRebase with
|
|
||||||
* flags), job exists as long as mirroring is active
|
|
||||||
* VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT: Block Commit (virDomainBlockCommit),
|
|
||||||
* job ends on completion
|
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
VIR_DOMAIN_BLOCK_JOB_TYPE_UNKNOWN = 0,
|
VIR_DOMAIN_BLOCK_JOB_TYPE_UNKNOWN = 0, /* Placeholder */
|
||||||
|
|
||||||
VIR_DOMAIN_BLOCK_JOB_TYPE_PULL = 1,
|
VIR_DOMAIN_BLOCK_JOB_TYPE_PULL = 1,
|
||||||
|
/* Block Pull (virDomainBlockPull, or virDomainBlockRebase without
|
||||||
|
* flags), job ends on completion */
|
||||||
|
|
||||||
VIR_DOMAIN_BLOCK_JOB_TYPE_COPY = 2,
|
VIR_DOMAIN_BLOCK_JOB_TYPE_COPY = 2,
|
||||||
|
/* Block Copy (virDomainBlockRebase with flags), job exists as
|
||||||
|
* long as mirroring is active */
|
||||||
|
|
||||||
VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT = 3,
|
VIR_DOMAIN_BLOCK_JOB_TYPE_COMMIT = 3,
|
||||||
|
/* Block Commit (virDomainBlockCommit without flags), job ends on
|
||||||
|
* completion */
|
||||||
|
|
||||||
VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT = 4,
|
VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT = 4,
|
||||||
|
/* Active Block Commit (virDomainBlockCommit with flags), job
|
||||||
|
* exists as long as sync is active */
|
||||||
|
|
||||||
#ifdef VIR_ENUM_SENTINELS
|
#ifdef VIR_ENUM_SENTINELS
|
||||||
VIR_DOMAIN_BLOCK_JOB_TYPE_LAST
|
VIR_DOMAIN_BLOCK_JOB_TYPE_LAST
|
||||||
|
Loading…
x
Reference in New Issue
Block a user