]> git.ipfire.org Git - thirdparty/qemu.git/commit
tpm: tpm_emulator: get and set buffer size of device
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Sat, 4 Nov 2017 23:57:15 +0000 (19:57 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 15 Dec 2017 04:39:15 +0000 (23:39 -0500)
commit9375c44fdfc07c0fef3052a3f25a13197a528902
treee1bde23c01cc36f6c707af2eda79bfa5f8136762
parentabc5cda097f46bdb86833a38ee0961a0e6a47ae1
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>
backends/tpm.c
hw/tpm/tpm_emulator.c
hw/tpm/tpm_ioctl.h
hw/tpm/tpm_tis.c
include/sysemu/tpm_backend.h