tpm: tpm_emulator: get and set buffer size of device
Convert the tpm_emulator backend to get the current buffer size of the external device and set it to the buffer size that the frontend (TIS) requests. Signed-off-by:Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
Showing
- backends/tpm.c 2 additions, 2 deletionsbackends/tpm.c
- hw/tpm/tpm_emulator.c 75 additions, 4 deletionshw/tpm/tpm_emulator.c
- hw/tpm/tpm_ioctl.h 27 additions, 1 deletionhw/tpm/tpm_ioctl.h
- hw/tpm/tpm_tis.c 3 additions, 3 deletionshw/tpm/tpm_tis.c
- include/sysemu/tpm_backend.h 4 additions, 2 deletionsinclude/sysemu/tpm_backend.h
Loading
Please register or sign in to comment