[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error using swtpm for TPM2
From: |
X Tec |
Subject: |
Error using swtpm for TPM2 |
Date: |
Fri, 2 Sep 2022 18:10:35 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Using QEMU 6.2 and swtpm 0.5.3.
So I start swtpm with:
swtpm socket -t --tpm2 --tpmstate dir=~/tpm0 --ctrl
type=unixio,path=~/tpm0/swtpm-sock --log level=20 -d
And use these options for QEMU:
-chardev socket,id=chrtpm,path=~/tpm0/swtpm-sock -tpmdev
emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0
Try to run QEMU and I get this error:
tpm-emulator: TPM result for CMD_INIT: 0x9 operation failed
Then QEMU aborts, and even the swtpm process seemingly gets killed (is no
more), with or without the -t option.
Could someone help please?
Thanks.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Error using swtpm for TPM2,
X Tec <=