tpm-be: report error instead of front-end
commit0bd6c8a9cfa4fd5c25a32ed39f3b8cb786b75b58
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Nov 2017 18:39:03 +0000 (6 19:39 +0100)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 15 Dec 2017 04:39:14 +0000 (14 23:39 -0500)
tree20ea8aff5352e6217a36ae78a3d571f970669a59
parent689990598a710519eba37e4eb4d8bdebac1aa562
tpm-be: report error instead of front-end

Backend can give more accurate error description, and lift out the job
from the frontend.

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