]> git.proxmox.com Git - mirror_qemu.git/commit
tpm: tpm_passthrough: Read the buffer size from the host device
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Sat, 4 Nov 2017 02:49:23 +0000 (22:49 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 15 Dec 2017 04:39:15 +0000 (23:39 -0500)
commitabc5cda097f46bdb86833a38ee0961a0e6a47ae1
treed3d32ae6b6d96a7b9cd3a6e6b8cb831384efb57f
parent56388eee01144d59d5c94a34431a29c75073ba53
tpm: tpm_passthrough: Read the buffer size from the host device

Rather than hard coding the buffer size in the tpm_passthrough
backend read the TPM I/O buffer size from the host device.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/tpm/tpm_int.h
hw/tpm/tpm_passthrough.c
hw/tpm/tpm_util.c
hw/tpm/tpm_util.h