mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
API: Add domain job operation for backups
Introduce VIR_DOMAIN_JOB_OPERATION_BACKUP into virDomainJobOperation. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
74ca70507a
commit
9e408454a8
@ -3283,6 +3283,7 @@ typedef enum {
|
||||
VIR_DOMAIN_JOB_OPERATION_SNAPSHOT = 6,
|
||||
VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERT = 7,
|
||||
VIR_DOMAIN_JOB_OPERATION_DUMP = 8,
|
||||
VIR_DOMAIN_JOB_OPERATION_BACKUP = 9,
|
||||
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_DOMAIN_JOB_OPERATION_LAST
|
||||
|
@ -6068,7 +6068,9 @@ VIR_ENUM_IMPL(virshDomainJobOperation,
|
||||
N_("Outgoing migration"),
|
||||
N_("Snapshot"),
|
||||
N_("Snapshot revert"),
|
||||
N_("Dump"));
|
||||
N_("Dump"),
|
||||
N_("Backup"),
|
||||
);
|
||||
|
||||
static const char *
|
||||
virshDomainJobOperationToString(int op)
|
||||
|
Loading…
Reference in New Issue
Block a user