Re: [Qemu-devel] [PATCH 2/7] tpm-backend: Move thread handling inside TPMBackend

2017-04-04 Thread Amarnath Valluri
On 04.04.2017 13:56, Marc-André Lureau wrote: Hi On Fri, Mar 31, 2017 at 5:04 PM Amarnath Valluri mailto:amarnath.vall...@intel.com>> wrote: Move thread handling inside TPMBackend, this way backend implementations need not to maintain their own thread life cycle, instead they ne

Re: [Qemu-devel] [PATCH 2/7] tpm-backend: Move thread handling inside TPMBackend

2017-04-04 Thread Marc-André Lureau
Hi On Fri, Mar 31, 2017 at 5:04 PM Amarnath Valluri wrote: > Move thread handling inside TPMBackend, this way backend implementations > need > not to maintain their own thread life cycle, instead they needs to > implement > 'handle_request()' class method that always been called from a thread. >

[Qemu-devel] [PATCH 2/7] tpm-backend: Move thread handling inside TPMBackend

2017-03-31 Thread Amarnath Valluri
Move thread handling inside TPMBackend, this way backend implementations need not to maintain their own thread life cycle, instead they needs to implement 'handle_request()' class method that always been called from a thread. This change also demands to move TPMBackendClass definition to tpm_backe