Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-03-21 Thread Anthony Liguori
On 02/20/2012 07:03 PM, Stefan Berger wrote: On 02/20/2012 04:15 PM, Michael S. Tsirkin wrote: On Mon, Feb 20, 2012 at 03:25:37PM -0500, Stefan Berger wrote: On 02/20/2012 02:51 PM, Michael S. Tsirkin wrote: On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: From Andreas Niederl's

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Stefan Berger
On 02/20/2012 04:15 PM, Michael S. Tsirkin wrote: On Mon, Feb 20, 2012 at 03:25:37PM -0500, Stefan Berger wrote: On 02/20/2012 02:51 PM, Michael S. Tsirkin wrote: On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: From Andreas Niederl's original posting with adaptations where nece

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Stefan Berger
On 02/20/2012 04:30 PM, Michael S. Tsirkin wrote: On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: + +static void *tpm_passthrough_thread(void *d) +{ +TPMPassthruThreadParams *thr_parms = d; +TPMPassthruState *tpm_pt = thr_parms->tb->s.tpm_pt; +uint32_t in_len; + +d

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Michael S. Tsirkin
On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: > >From Andreas Niederl's original posting with adaptations where necessary: > > This patch is based of off version 9 of Stefan Berger's patch series > "Qemu Trusted Platform Module (TPM) integration" > and adds a new backend driver

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Michael S. Tsirkin
On Mon, Feb 20, 2012 at 03:25:37PM -0500, Stefan Berger wrote: > On 02/20/2012 02:51 PM, Michael S. Tsirkin wrote: > >On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: > >>> From Andreas Niederl's original posting with adaptations where necessary: > >> > >>This patch is based of off ve

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Stefan Berger
On 02/20/2012 03:01 PM, Michael S. Tsirkin wrote: On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: +struct TPMPassthruState { +QemuThread thread; +bool thread_terminate; +bool thread_running; + +TPMPassthruThreadParams tpm_thread_params; + +char tpm_dev[64]; wh

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Stefan Berger
On 02/20/2012 02:51 PM, Michael S. Tsirkin wrote: On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: > From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series "Qemu Trusted Platform Module (TPM

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Michael S. Tsirkin
On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: > >From Andreas Niederl's original posting with adaptations where necessary: > > This patch is based of off version 9 of Stefan Berger's patch series > "Qemu Trusted Platform Module (TPM) integration" > and adds a new backend driver

Re: [Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2012-02-20 Thread Michael S. Tsirkin
On Wed, Dec 14, 2011 at 08:43:20AM -0500, Stefan Berger wrote: > >From Andreas Niederl's original posting with adaptations where necessary: > > This patch is based of off version 9 of Stefan Berger's patch series > "Qemu Trusted Platform Module (TPM) integration" > and adds a new backend driver

[Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2011-12-14 Thread Stefan Berger
>From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series "Qemu Trusted Platform Module (TPM) integration" and adds a new backend driver for it. This patch adds a passthrough backend driver for passing command