conf: Define enum virDomainTPMProfileRemoveDisabled

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Stefan Berger 2024-11-13 12:39:44 -05:00 committed by Michal Privoznik
parent 1079532d74
commit 15ba6edabd
3 changed files with 18 additions and 0 deletions

View File

@ -1337,6 +1337,13 @@ VIR_ENUM_IMPL(virDomainTPMPcrBank,
"sha512",
);
VIR_ENUM_IMPL(virDomainTPMProfileRemoveDisabled,
VIR_DOMAIN_TPM_PROFILE_REMOVE_DISABLED_LAST,
"none",
"check",
"fips-host",
);
VIR_ENUM_IMPL(virDomainIOMMUModel,
VIR_DOMAIN_IOMMU_MODEL_LAST,
"intel",

View File

@ -1471,6 +1471,14 @@ typedef enum {
VIR_DOMAIN_TPM_SOURCE_TYPE_LAST
} virDomainTPMSourceType;
typedef enum {
VIR_DOMAIN_TPM_PROFILE_REMOVE_DISABLED_NONE = 0,
VIR_DOMAIN_TPM_PROFILE_REMOVE_DISABLED_CHECK,
VIR_DOMAIN_TPM_PROFILE_REMOVE_DISABLED_FIPS_HOST,
VIR_DOMAIN_TPM_PROFILE_REMOVE_DISABLED_LAST
} virDomainTPMProfileRemoveDisabled;
#define VIR_DOMAIN_TPM_DEFAULT_DEVICE "/dev/tpm0"
struct _virDomainTPMEmulatorDef {
@ -4291,6 +4299,7 @@ VIR_ENUM_DECL(virDomainTPMBackend);
VIR_ENUM_DECL(virDomainTPMVersion);
VIR_ENUM_DECL(virDomainTPMSourceType);
VIR_ENUM_DECL(virDomainTPMPcrBank);
VIR_ENUM_DECL(virDomainTPMProfileRemoveDisabled);
VIR_ENUM_DECL(virDomainMemoryModel);
VIR_ENUM_DECL(virDomainMemoryBackingModel);
VIR_ENUM_DECL(virDomainMemorySource);

View File

@ -692,6 +692,8 @@ virDomainTPMModelTypeFromString;
virDomainTPMModelTypeToString;
virDomainTPMPcrBankTypeFromString;
virDomainTPMPcrBankTypeToString;
virDomainTPMProfileRemoveDisabledTypeFromString;
virDomainTPMProfileRemoveDisabledTypeToString;
virDomainTPMVersionTypeFromString;
virDomainTPMVersionTypeToString;
virDomainUSBDeviceDefForeach;