summaryrefslogtreecommitdiffstats
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorStefan Berger2017-11-06 01:31:43 +0100
committerStefan Berger2017-12-15 05:39:15 +0100
commit683c4b775355cc7acd301e8efe7d4c1c9acdafd8 (patch)
tree8929b2430d666dba389dbdb1d9e11ebdfa9b431b /linux-user/signal.c
parenttpm: tpm_emulator: get and set buffer size of device (diff)
downloadqemu-683c4b775355cc7acd301e8efe7d4c1c9acdafd8.tar.gz
qemu-683c4b775355cc7acd301e8efe7d4c1c9acdafd8.tar.xz
qemu-683c4b775355cc7acd301e8efe7d4c1c9acdafd8.zip
tpm: tpm_passthrough: Fail startup if FE buffer size < BE buffer size
If the requested buffer size of the frontend is smaller than the fixed buffer size of the host's TPM, fail the startup_tpm() interface function, which will make the device unusable. We fail it because the backend TPM could produce larger packets than what the frontend could pass to the OS. The current combination of TIS frontend and either passthrough or emulator backend will not lead to this case since the TIS can support any size of buffer. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions