[libvirt PATCH 11/14] qemu: Fix description of swtpmStateDir

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

 



This directory contains runtime state, not persistent state.
The latter goes into swtpmStorageDir.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 src/qemu/qemu_tpm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qemu/qemu_tpm.c b/src/qemu/qemu_tpm.c
index b38aa5e7ce..c0e875627d 100644
--- a/src/qemu/qemu_tpm.c
+++ b/src/qemu/qemu_tpm.c
@@ -281,7 +281,7 @@ qemuTPMEmulatorCleanupHost(virDomainTPMDef *tpm)
  * @logDir: directory where swtpm writes its logs into
  * @swtpm_user: uid to run the swtpm with
  * @swtpm_group: gid to run the swtpm with
- * @swtpmStateDir: directory for swtpm's persistent state
+ * @swtpmStateDir: directory for swtpm runtime state
  * @qemu_user: uid that qemu will run with; we share the socket file with it
  * @shortName: short and unique name of the domain
  *
@@ -814,7 +814,7 @@ qemuTPMEmulatorStop(const char *swtpmStateDir,
 
 /**
  * qemuExtTPMEmulatorSetupCgroup:
- * @swtpmStateDir: directory for swtpm's persistent state
+ * @swtpmStateDir: directory for swtpm runtime state
  * @shortName: short and unique name of the domain
  * @cgroup: cgroup to add the swtpm process to
  *
-- 
2.34.1




[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