mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
util: check swtpm nvram-backend-{dir,file} capabilities
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
78a9e7bf4a
commit
cc0aab9395
@ -40,6 +40,8 @@ VIR_ENUM_IMPL(virTPMSwtpmFeature,
|
|||||||
VIR_TPM_SWTPM_FEATURE_LAST,
|
VIR_TPM_SWTPM_FEATURE_LAST,
|
||||||
"cmdarg-pwd-fd",
|
"cmdarg-pwd-fd",
|
||||||
"cmdarg-migration",
|
"cmdarg-migration",
|
||||||
|
"nvram-backend-dir",
|
||||||
|
"nvram-backend-file",
|
||||||
);
|
);
|
||||||
|
|
||||||
VIR_ENUM_IMPL(virTPMSwtpmSetupFeature,
|
VIR_ENUM_IMPL(virTPMSwtpmSetupFeature,
|
||||||
|
@ -31,6 +31,8 @@ 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_CMDARG_MIGRATION,
|
||||||
|
VIR_TPM_SWTPM_FEATURE_NVRAM_BACKEND_DIR,
|
||||||
|
VIR_TPM_SWTPM_FEATURE_NVRAM_BACKEND_FILE,
|
||||||
|
|
||||||
VIR_TPM_SWTPM_FEATURE_LAST
|
VIR_TPM_SWTPM_FEATURE_LAST
|
||||||
} virTPMSwtpmFeature;
|
} virTPMSwtpmFeature;
|
||||||
|
Loading…
Reference in New Issue
Block a user