1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

conf: introduce new taint flag for deprecated configuration

Hypervisors are capable of reporting that some features are deprecated.
This should be used to mark a domain as tainted.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2021-01-22 11:43:02 +00:00
parent 1e260cc449
commit 2273065746
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ VIR_ENUM_IMPL(virDomainTaint,
"custom-dtb",
"custom-ga-command",
"custom-hypervisor-feature",
"deprecated-config",
);
VIR_ENUM_IMPL(virDomainVirt,

View File

@ -2759,6 +2759,7 @@ typedef enum {
VIR_DOMAIN_TAINT_CUSTOM_DTB, /* Custom device tree blob was specified */
VIR_DOMAIN_TAINT_CUSTOM_GA_COMMAND, /* Custom guest agent command */
VIR_DOMAIN_TAINT_CUSTOM_HYPERVISOR_FEATURE, /* custom hypervisor feature control */
VIR_DOMAIN_TAINT_DEPRECATED_CONFIG, /* Configuration that is marked deprecated */
VIR_DOMAIN_TAINT_LAST
} virDomainTaintFlags;