util: Add parsing support for swtpm's cmdarg-migration capability
Add support for parsing swtpm 'cmdarg-migration' capability (since v0.8). Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
640e1050bf
commit
1537c73da2
@ -39,6 +39,7 @@ VIR_LOG_INIT("util.tpm");
|
|||||||
VIR_ENUM_IMPL(virTPMSwtpmFeature,
|
VIR_ENUM_IMPL(virTPMSwtpmFeature,
|
||||||
VIR_TPM_SWTPM_FEATURE_LAST,
|
VIR_TPM_SWTPM_FEATURE_LAST,
|
||||||
"cmdarg-pwd-fd",
|
"cmdarg-pwd-fd",
|
||||||
|
"cmdarg-migration",
|
||||||
);
|
);
|
||||||
|
|
||||||
VIR_ENUM_IMPL(virTPMSwtpmSetupFeature,
|
VIR_ENUM_IMPL(virTPMSwtpmSetupFeature,
|
||||||
|
@ -30,6 +30,7 @@ bool virTPMHasSwtpm(void);
|
|||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
VIR_TPM_SWTPM_FEATURE_CMDARG_PWD_FD,
|
VIR_TPM_SWTPM_FEATURE_CMDARG_PWD_FD,
|
||||||
|
VIR_TPM_SWTPM_FEATURE_CMDARG_MIGRATION,
|
||||||
|
|
||||||
VIR_TPM_SWTPM_FEATURE_LAST
|
VIR_TPM_SWTPM_FEATURE_LAST
|
||||||
} virTPMSwtpmFeature;
|
} virTPMSwtpmFeature;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user