Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-25 Thread Stefan Berger
On 04/07/2017 10:30 AM, Amarnath Valluri wrote: This change introduces a new TPM backend driver that can communicate with swtpm(software TPM emulator) using unix domain socket interface. Swtpm uses two unix sockets, one for plain TPM commands and responses, and one for out-of-band control messag

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Stefan Berger
On 04/10/2017 12:14 PM, Stefan Berger wrote: On 04/10/2017 06:07 AM, Patrick Ohly wrote: On Mon, 2017-04-10 at 09:54 +, Marc-André Lureau wrote: By "public protocol", I mean qemu communication with a foreign project, swtpm or other. If qemu grows new needs, or if the protocol is found lim

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Stefan Berger
On 04/10/2017 03:08 AM, Amarnath Valluri wrote: On 07.04.2017 17:41, Daniel P. Berrange wrote: On Fri, Apr 07, 2017 at 05:30:31PM +0300, Amarnath Valluri wrote: This change introduces a new TPM backend driver that can communicate with swtpm(software TPM emulator) using unix domain socket int

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Stefan Berger
On 04/10/2017 06:07 AM, Patrick Ohly wrote: On Mon, 2017-04-10 at 09:54 +, Marc-André Lureau wrote: By "public protocol", I mean qemu communication with a foreign project, swtpm or other. If qemu grows new needs, or if the protocol is found limited or buggy, it may change. Subtle interacti

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Patrick Ohly
On Mon, 2017-04-10 at 09:54 +, Marc-André Lureau wrote: > By "public protocol", I mean qemu communication with a foreign > project, swtpm or other. > > If qemu grows new needs, or if the protocol is found limited or buggy, > it may change. Subtle interactions may break between various > imple

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Marc-André Lureau
Hi On Mon, Apr 10, 2017 at 9:33 AM Amarnath Valluri wrote: > > > On 07.04.2017 18:11, Marc-André Lureau wrote: > > Hi > > On Fri, Apr 7, 2017 at 4:41 PM Daniel P. Berrange > > > +.name = "data-path", > > +.type = QEMU_OPT_STRING, > > +.help = "Socket path to use for data

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Daniel P. Berrange
On Mon, Apr 10, 2017 at 10:08:21AM +0300, Amarnath Valluri wrote: > > > On 07.04.2017 17:41, Daniel P. Berrange wrote: > > On Fri, Apr 07, 2017 at 05:30:31PM +0300, Amarnath Valluri wrote: > > > This change introduces a new TPM backend driver that can communicate with > > > swtpm(software TPM emu

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Amarnath Valluri
On 07.04.2017 18:11, Marc-André Lureau wrote: Hi On Fri, Apr 7, 2017 at 4:41 PM Daniel P. Berrange > +.name = "data-path", > +.type = QEMU_OPT_STRING, > +.help = "Socket path to use for data exhange", > +}, > +{ > +.name = "ctrl-

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-10 Thread Amarnath Valluri
On 07.04.2017 17:41, Daniel P. Berrange wrote: On Fri, Apr 07, 2017 at 05:30:31PM +0300, Amarnath Valluri wrote: This change introduces a new TPM backend driver that can communicate with swtpm(software TPM emulator) using unix domain socket interface. Swtpm uses two unix sockets, one for plai

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-07 Thread Marc-André Lureau
Hi On Fri, Apr 7, 2017 at 4:41 PM Daniel P. Berrange > > +.name = "data-path", > > +.type = QEMU_OPT_STRING, > > +.help = "Socket path to use for data exhange", > > +}, > > +{ > > +.name = "ctrl-path", > > +.type = QEMU_OPT_STRING, > > +.hel

Re: [Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-07 Thread Daniel P. Berrange
On Fri, Apr 07, 2017 at 05:30:31PM +0300, Amarnath Valluri wrote: > This change introduces a new TPM backend driver that can communicate with > swtpm(software TPM emulator) using unix domain socket interface. > > Swtpm uses two unix sockets, one for plain TPM commands and responses, and one > for

[Qemu-devel] [PATCH v2 9/9] tpm: Added support for TPM emulator

2017-04-07 Thread Amarnath Valluri
This change introduces a new TPM backend driver that can communicate with swtpm(software TPM emulator) using unix domain socket interface. Swtpm uses two unix sockets, one for plain TPM commands and responses, and one for out-of-band control messages. The swtpm and associated tools can be found h