tpm-backend: Move realloc_buffer() implementation to tpm-tis model
commitd0c519bdffa303d141727369e55b157c45b03147
authorAmarnath Valluri <amarnath.valluri@intel.com>
Fri, 29 Sep 2017 11:10:18 +0000 (29 14:10 +0300)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 13 Oct 2017 11:34:33 +0000 (13 07:34 -0400)
tree38bf6a6972e325939be0eb176e42a01dafca0f9a
parentf59864ba3aedd26aef7c84545cc1e565caccebf7
tpm-backend: Move realloc_buffer() implementation to tpm-tis model

buffer reallocation is very unlikely to be backend specific. Hence move inside
the tis.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
backends/tpm.c
hw/tpm/tpm_passthrough.c
hw/tpm/tpm_tis.c
include/sysemu/tpm_backend.h