reason it gives this message is that the response this TPM may
send back could be 4096 bytes in size but the CRB of the VM can only
catch 3968 bytes, so there's a mismatch. You may not be able to use
the CRB in passthrough mode. I would try to have the VM use the TIS.
--
Best regards,
Trying to boot VM with TPM 2.0 CRB in passthrough mode without this change
I got "Requested buffer size of 3968 is smaller than host TPM's fixed
buffer size of 4096".
Looks like it can not be less than backend buffer size nor less than
CRB_CTRL_CMD_SIZE.
Signed-off-by: Yuri Konotop