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

2011-09-26 Thread Stefan Berger
On 09/26/2011 04:24 PM, Michael S. Tsirkin wrote: On Mon, Sep 26, 2011 at 04:12:19PM -0400, Stefan Berger wrote: +if (tpm_passthrough_test_tpmdev(tb->s.tpm_pt->tpm_fd)) { +fprintf(stderr, +"'%s' is not a TPM device.\n", +tb->s.tpm_pt->tpm_dev); +

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

2011-09-26 Thread Michael S. Tsirkin
On Mon, Sep 26, 2011 at 04:12:19PM -0400, Stefan Berger wrote: > >It's usually a good idea to allow passing the fd through > >a unix file descriptor or command line. net has some code > >for that, that can be generalized. Good for security > >separation. It does not have to be part of this patch th

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

2011-09-26 Thread Stefan Berger
On 09/26/2011 03:20 PM, Michael S. Tsirkin wrote: On Mon, Sep 26, 2011 at 12:35:14PM -0400, 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 V9 5/5] Add a TPM Passthrough backend driver implementation

2011-09-26 Thread Michael S. Tsirkin
On Mon, Sep 26, 2011 at 12:35:14PM -0400, 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 V9 5/5] Add a TPM Passthrough backend driver implementation

2011-09-26 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