mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-17 09:42:19 +03:00
This sucks and I hate it
This commit is contained in:
parent
bea91e2fb9
commit
eeb8035765
14
README.md
14
README.md
@ -74,6 +74,20 @@ swtpm_ioctl -s /dev/tpm # to shut down, apparently
|
|||||||
|
|
||||||
If your platform has a TPM, occupy it first by running `exec 100<>/dev/tpm0` or equivalent. `tcsd` looks at `/dev/tpm0` before `/dev/tpm`.
|
If your platform has a TPM, occupy it first by running `exec 100<>/dev/tpm0` or equivalent. `tcsd` looks at `/dev/tpm0` before `/dev/tpm`.
|
||||||
|
|
||||||
|
#### initrd
|
||||||
|
|
||||||
|
Running
|
||||||
|
```sh
|
||||||
|
swtpm socket --ctrl type=unixio,path=/tmp/swtpm --tpm2 --tpmstate dir=tpm2-state --flags not-need-init --log level=10
|
||||||
|
# or
|
||||||
|
swtpm socket --ctrl type=unixio,path=/tmp/swtpm --tpmstate dir=tpm1x-state --log level=10
|
||||||
|
```
|
||||||
|
instead, alongside passing
|
||||||
|
```
|
||||||
|
-chardev socket,id=chrtpm,path=/tmp/swtpm -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0
|
||||||
|
```
|
||||||
|
to QEMU will create a TPM device on the guest which Should® be fully funxional.
|
||||||
|
|
||||||
## Reporting bugs
|
## Reporting bugs
|
||||||
|
|
||||||
There's [the tracker](//todo.sr.ht/~nabijaczleweli/tzpfms), but also see the list below.
|
There's [the tracker](//todo.sr.ht/~nabijaczleweli/tzpfms), but also see the list below.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user