Did some one use TPM in oVirt ?
I tried to active it but failed to use. The VM is configured to use an EFI secure boot.
The VM (a RHEL 9.5 OS) see it, but I can’t communicate with it:
$ dmesg | grep -i tpm
[ 0.000000] efi: SMBIOS=0x7ddd5000 TPMFinalLog=0x7dfe7000 ACPI=0x7df7e000 ACPI 2.0=0x7df7e014 MEMATTR=0x7cbd9018 MOKvar=0x7dd82000 RNG=0x7df71018 TPMEventLog=0x7c544018
[ 0.018626] ACPI: TPM2 0x000000007DF76000 00004C (v04 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.018657] ACPI: Reserving TPM2 table memory at [mem 0x7df76000-0x7df7604b]
[ 5.312318] systemd[1]: TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
pcsc_scan fails to read it:
$ sudo pcsc_scan -s -v
PC/SC device scanner
V 1.6.2 (c) 2001-2022, Ludovic Rousseau <ludovic.rousseau@free.fr>
SCardEstablishContext: RPC transport error.