qemu/backends/tpm
Stefan Berger 312c540401 tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY
Use the new ptm_cap_n structure for getting the PTM_GET_CAPABILITY response
from swtpm. Previously only 17 bits could possibly have been set in ptm_cap
(uint64_t) in big endian order and those bits are now found in the 2nd
32bit word in the response in the caps field.

This data structure makes it now clear that the 1st 32bit word carries the
tpm_result like all the other response structures of all other commands
do.

The changes are taken from the swtpm project's tpm_ioctl.h.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-10-18 07:53:11 -04:00
..
Kconfig tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
tpm_backend.c thread-pool: avoid passing the pool parameter every time 2023-04-25 13:17:28 +02:00
tpm_emulator.c tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
tpm_int.h tpm: Move backend code under the 'backends/' directory 2020-06-19 07:25:55 -04:00
tpm_ioctl.h tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
tpm_passthrough.c qapi tpm: Elide redundant has_FOO in generated C 2022-12-14 20:05:07 +01:00
tpm_util.c backends/tpm: Remove newline character in trace event 2024-06-10 13:05:27 -04:00
trace-events tpm: Use new ptm_cap_n structure for PTM_GET_CAPABILITY 2024-10-18 07:53:11 -04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00