qemu-trivial
[Top][All Lists]
Advanced

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

[PATCH] docs: Add --tpm2 option to swtpm command line


From: Stefan Berger
Subject: [PATCH] docs: Add --tpm2 option to swtpm command line
Date: Mon, 26 Sep 2022 07:07:46 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]