Re: [Qemu-devel] [PATCH 24/42] tpm-be: call request_completed() out of thread

2017-10-19 Thread Stefan Berger
On 10/19/2017 06:02 PM, Stefan Berger wrote: On 10/09/2017 06:56 PM, Marc-André Lureau wrote: Lift from the backend implementation the responsability to call the request_completed() callback outside of thread context. This also I don't think this is what you are doing here. It's still in threa

Re: [Qemu-devel] [PATCH 24/42] tpm-be: call request_completed() out of thread

2017-10-19 Thread Stefan Berger
On 10/09/2017 06:56 PM, Marc-André Lureau wrote: Lift from the backend implementation the responsability to call the request_completed() callback outside of thread context. This also I don't think this is what you are doing here. It's still in thread context. Something is breaking the TIS inte

Re: [Qemu-devel] [PATCH 24/42] tpm-be: call request_completed() out of thread

2017-10-19 Thread Stefan Berger
On 10/09/2017 06:56 PM, Marc-André Lureau wrote: Lift from the backend implementation the responsability to call the request_completed() callback outside of thread context. This also simplify frontend/interface work, as they no longer need to care whether the callback is called from a different t

[Qemu-devel] [PATCH 24/42] tpm-be: call request_completed() out of thread

2017-10-09 Thread Marc-André Lureau
Lift from the backend implementation the responsability to call the request_completed() callback outside of thread context. This also simplify frontend/interface work, as they no longer need to care whether the callback is called from a different thread. Signed-off-by: Marc-André Lureau --- hw/t