Re: [PATCH v3 1/5] util: check swtpm nvram-backend-{dir,file} capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 10/4/24 9:32 AM, marcandre.lureau@xxxxxxxxxx wrote:
From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>

---
  src/util/virtpm.c | 2 ++
  src/util/virtpm.h | 2 ++
  2 files changed, 4 insertions(+)

diff --git a/src/util/virtpm.c b/src/util/virtpm.c
index 81fd6166cf..298caaad80 100644
--- a/src/util/virtpm.c
+++ b/src/util/virtpm.c
@@ -40,6 +40,8 @@ VIR_ENUM_IMPL(virTPMSwtpmFeature,
                VIR_TPM_SWTPM_FEATURE_LAST,
                "cmdarg-pwd-fd",
                "cmdarg-migration",
+              "nvram-backend-dir",
+              "nvram-backend-file",
  );
VIR_ENUM_IMPL(virTPMSwtpmSetupFeature,
diff --git a/src/util/virtpm.h b/src/util/virtpm.h
index fb330effa8..99dbcc1dc8 100644
--- a/src/util/virtpm.h
+++ b/src/util/virtpm.h
@@ -31,6 +31,8 @@ bool virTPMHasSwtpm(void);
  typedef enum {
      VIR_TPM_SWTPM_FEATURE_CMDARG_PWD_FD,
      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
  } virTPMSwtpmFeature;




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux