libvirt: introduce VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_DELETE

This will be used by snapshot delete async domain job.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Pavel Hrdina 2022-12-05 12:44:28 +01:00
parent e152f0718f
commit a1cbaee5c8
2 changed files with 2 additions and 0 deletions

View File

@ -4172,6 +4172,7 @@ typedef enum {
VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERT = 7, /* (Since: 3.3.0) */ VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_REVERT = 7, /* (Since: 3.3.0) */
VIR_DOMAIN_JOB_OPERATION_DUMP = 8, /* (Since: 3.3.0) */ VIR_DOMAIN_JOB_OPERATION_DUMP = 8, /* (Since: 3.3.0) */
VIR_DOMAIN_JOB_OPERATION_BACKUP = 9, /* (Since: 6.0.0) */ VIR_DOMAIN_JOB_OPERATION_BACKUP = 9, /* (Since: 6.0.0) */
VIR_DOMAIN_JOB_OPERATION_SNAPSHOT_DELETE = 10, /* (Since: 9.0.0) */
# ifdef VIR_ENUM_SENTINELS # ifdef VIR_ENUM_SENTINELS
VIR_DOMAIN_JOB_OPERATION_LAST /* (Since: 3.3.0) */ VIR_DOMAIN_JOB_OPERATION_LAST /* (Since: 3.3.0) */

View File

@ -6141,6 +6141,7 @@ VIR_ENUM_IMPL(virshDomainJobOperation,
N_("Snapshot revert"), N_("Snapshot revert"),
N_("Dump"), N_("Dump"),
N_("Backup"), N_("Backup"),
N_("Snapshot delete"),
); );
static const char * static const char *