Re: [Qemu-devel] [PATCH v2 3/5] tpm: report backend request error

2018-01-19 Thread Stefan Berger
On 01/19/2018 09:11 AM, Marc-André Lureau wrote: Use an Error** for request to let the caller handle error reporting. This will also allow to inform the frontend of a backend error. Signed-off-by: Marc-André Lureau Reviewed-by: Stefan Berger --- include/sysemu/tpm.h | 2 +- in

[Qemu-devel] [PATCH v2 3/5] tpm: report backend request error

2018-01-19 Thread Marc-André Lureau
Use an Error** for request to let the caller handle error reporting. This will also allow to inform the frontend of a backend error. Signed-off-by: Marc-André Lureau --- include/sysemu/tpm.h | 2 +- include/sysemu/tpm_backend.h | 3 ++- backends/tpm.c | 9 +++-- hw/