All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: Add --tpm2 option to swtpm command line
@ 2022-09-26 11:07 Stefan Berger
  2022-09-27  9:10 ` Marc-André Lureau
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Berger @ 2022-09-26 11:07 UTC (permalink / raw)
  To: qemu-trivial, marcandre.lureau; +Cc: qemu-devel, Stefan Berger

Add the --tpm2 option to the swtpm command line to run a TPM 2.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
---
 docs/specs/tpm.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/specs/tpm.rst b/docs/specs/tpm.rst
index 3be190343a..243e24b692 100644
--- a/docs/specs/tpm.rst
+++ b/docs/specs/tpm.rst
@@ -304,6 +304,7 @@ a socket interface. They do not need to be run as root.
   mkdir /tmp/mytpm1
   swtpm socket --tpmstate dir=/tmp/mytpm1 \
     --ctrl type=unixio,path=/tmp/mytpm1/swtpm-sock \
+    --tpm2 \
     --log level=20
 
 Command line to start QEMU with the TPM emulator device communicating
-- 
2.37.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-27 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 11:07 [PATCH] docs: Add --tpm2 option to swtpm command line Stefan Berger
2022-09-27  9:10 ` Marc-André Lureau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.