Re: [Qemu-devel] [PATCH v4 2/2] tpm: extend TPM TIS with state migration support

2018-04-02 Thread Stefan Berger
On 03/29/2018 01:07 PM, Marc-André Lureau wrote: Hi On Thu, Mar 29, 2018 at 1:56 AM, Stefan Berger wrote: On 03/28/2018 11:41 AM, Marc-André Lureau wrote: Hi On Thu, Mar 1, 2018 at 8:59 PM, Stefan Berger wrote: + +static const VMStateDescription vmstate_locty = { +.name = "loc", +.

Re: [Qemu-devel] [PATCH v4 2/2] tpm: extend TPM TIS with state migration support

2018-03-29 Thread Marc-André Lureau
Hi On Thu, Mar 29, 2018 at 1:56 AM, Stefan Berger wrote: > On 03/28/2018 11:41 AM, Marc-André Lureau wrote: >> >> Hi >> >> On Thu, Mar 1, 2018 at 8:59 PM, Stefan Berger >> wrote: >>> >>> + >>> +static const VMStateDescription vmstate_locty = { >>> +.name = "loc", >>> +.version_id = 1, >>

Re: [Qemu-devel] [PATCH v4 2/2] tpm: extend TPM TIS with state migration support

2018-03-28 Thread Stefan Berger
On 03/28/2018 11:41 AM, Marc-André Lureau wrote: Hi On Thu, Mar 1, 2018 at 8:59 PM, Stefan Berger wrote: + +static const VMStateDescription vmstate_locty = { +.name = "loc", +.version_id = 1, +.minimum_version_id = 0, +.minimum_version_id_old = 0, I don't understand the proble

Re: [Qemu-devel] [PATCH v4 2/2] tpm: extend TPM TIS with state migration support

2018-03-28 Thread Marc-André Lureau
Hi On Thu, Mar 1, 2018 at 8:59 PM, Stefan Berger wrote: > Extend the TPM TIS interface with state migration support. > > We need to synchronize with the backend thread to make sure that a command > being processed by the external TPM emulator has completed and its > response been received. > > Si

Re: [Qemu-devel] [PATCH v4 2/2] tpm: extend TPM TIS with state migration support

2018-03-02 Thread Marc-André Lureau
Hi On Thu, Mar 1, 2018 at 8:59 PM, Stefan Berger wrote: > Extend the TPM TIS interface with state migration support. > > We need to synchronize with the backend thread to make sure that a command > being processed by the external TPM emulator has completed and its > response been received. > > Si

[Qemu-devel] [PATCH v4 2/2] tpm: extend TPM TIS with state migration support

2018-03-01 Thread Stefan Berger
Extend the TPM TIS interface with state migration support. We need to synchronize with the backend thread to make sure that a command being processed by the external TPM emulator has completed and its response been received. Signed-off-by: Stefan Berger --- hw/tpm/tpm_tis.c | 54 +++