]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix description of swtpmStateDir
authorAndrea Bolognani <abologna@redhat.com>
Fri, 4 Feb 2022 17:58:23 +0000 (18:58 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Sat, 5 Feb 2022 13:36:11 +0000 (14:36 +0100)
This directory contains runtime state, not persistent state.
The latter goes into swtpmStorageDir.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_tpm.c

index b38aa5e7ce3416f4ca81883d899fed1fcd51dedd..c0e875627deb1edc05f2a0aee60390fef085f410 100644 (file)
@@ -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
  *