Re: [Qemu-devel] [PATCH 1/5] tpm: Move getting TPM buffer size to backends

2017-11-08 Thread Stefan Berger
On 11/08/2017 11:21 AM, Marc-André Lureau wrote: On Mon, Nov 06, 2017 at 07:58:52PM -0500, Stefan Berger wrote: Rather than setting the size of the TPM buffer in the front-end, query the backend for the size of the buffer. In this patch we just move the hard-coded buffer size of 4096 to the back

Re: [Qemu-devel] [PATCH 1/5] tpm: Move getting TPM buffer size to backends

2017-11-08 Thread Marc-André Lureau
On Mon, Nov 06, 2017 at 07:58:52PM -0500, Stefan Berger wrote: > Rather than setting the size of the TPM buffer in the front-end, > query the backend for the size of the buffer. In this patch we > just move the hard-coded buffer size of 4096 to the backends. > > Signed-off-by: Stefan Berger > ---

[Qemu-devel] [PATCH 1/5] tpm: Move getting TPM buffer size to backends

2017-11-06 Thread Stefan Berger
Rather than setting the size of the TPM buffer in the front-end, query the backend for the size of the buffer. In this patch we just move the hard-coded buffer size of 4096 to the backends. Signed-off-by: Stefan Berger --- backends/tpm.c | 9 + hw/tpm/tpm_emulator.c