mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
util: Add parsing support for swtpm_setup's cmdarg-profile capability
Add support for parsing swtpm_setup 'cmdarg-profile' capability (since v0.10). Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
279b14cb81
commit
1079532d74
@ -53,6 +53,7 @@ VIR_ENUM_IMPL(virTPMSwtpmSetupFeature,
|
||||
"tpm-1.2",
|
||||
"tpm-2.0",
|
||||
"tpmstate-opt-lock",
|
||||
"cmdarg-profile",
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -45,6 +45,7 @@ typedef enum {
|
||||
VIR_TPM_SWTPM_SETUP_FEATURE_TPM_1_2,
|
||||
VIR_TPM_SWTPM_SETUP_FEATURE_TPM_2_0,
|
||||
VIR_TPM_SWTPM_SETUP_FEATURE_TPMSTATE_OPT_LOCK,
|
||||
VIR_TPM_SWTPM_SETUP_FEATURE_CMDARG_PROFILE,
|
||||
|
||||
VIR_TPM_SWTPM_SETUP_FEATURE_LAST
|
||||
} virTPMSwtpmSetupFeature;
|
||||
|
@ -72,6 +72,7 @@ virTPMSwtpmSetupCapsGet(virTPMSwtpmSetupFeature cap)
|
||||
case VIR_TPM_SWTPM_SETUP_FEATURE_TPM12_NOT_NEED_ROOT:
|
||||
case VIR_TPM_SWTPM_SETUP_FEATURE_CMDARG_RECONFIGURE_PCR_BANKS:
|
||||
case VIR_TPM_SWTPM_SETUP_FEATURE_TPMSTATE_OPT_LOCK:
|
||||
case VIR_TPM_SWTPM_SETUP_FEATURE_CMDARG_PROFILE:
|
||||
case VIR_TPM_SWTPM_SETUP_FEATURE_LAST:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user