Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Stefan Berger
On 06/02/2015 11:11 AM, Michael S. Tsirkin wrote: On Tue, Jun 02, 2015 at 11:06:54AM -0400, Stefan Berger wrote: On 06/02/2015 10:46 AM, Michael S. Tsirkin wrote: On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: On 06/02/2015 09:30 AM, Michael S. Tsirkin wrote: On Tue, Jun 02, 2

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Stefan Berger
On 06/02/2015 11:18 AM, Kevin O'Connor wrote: On Tue, Jun 02, 2015 at 04:46:06PM +0200, Michael S. Tsirkin wrote: On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: How would I mark the DataTableRegion as AddressRangeReserved or would it automatically be? It's automatically either

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Kevin O'Connor
On Tue, Jun 02, 2015 at 04:46:06PM +0200, Michael S. Tsirkin wrote: > On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: > > How would I mark the DataTableRegion as AddressRangeReserved or would it > > automatically be? > > It's automatically either AddressRangeReserved or AddressRange

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Michael S. Tsirkin
On Tue, Jun 02, 2015 at 11:06:54AM -0400, Stefan Berger wrote: > On 06/02/2015 10:46 AM, Michael S. Tsirkin wrote: > >On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: > >>On 06/02/2015 09:30 AM, Michael S. Tsirkin wrote: > >>>On Tue, Jun 02, 2015 at 09:22:40AM -0400, Stefan Berger wro

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Stefan Berger
On 06/02/2015 10:46 AM, Michael S. Tsirkin wrote: On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: On 06/02/2015 09:30 AM, Michael S. Tsirkin wrote: On Tue, Jun 02, 2015 at 09:22:40AM -0400, Stefan Berger wrote: On 06/02/2015 05:15 AM, Michael S. Tsirkin wrote: On Mon, Jun 01, 2

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Michael S. Tsirkin
On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: > And I am glad that I haven't > converted the ASL to C code, because this would make it a lot more difficult > to develop and debug... > > Stefan Let's avoid hyperbole. Mostly there's a bunch of aml_append calls sprinkled on ea

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Michael S. Tsirkin
On Tue, Jun 02, 2015 at 10:28:52AM -0400, Stefan Berger wrote: > On 06/02/2015 09:30 AM, Michael S. Tsirkin wrote: > >On Tue, Jun 02, 2015 at 09:22:40AM -0400, Stefan Berger wrote: > >>On 06/02/2015 05:15 AM, Michael S. Tsirkin wrote: > >>>On Mon, Jun 01, 2015 at 11:11:26PM -0400, Stefan Berger wro

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Stefan Berger
On 06/02/2015 09:30 AM, Michael S. Tsirkin wrote: On Tue, Jun 02, 2015 at 09:22:40AM -0400, Stefan Berger wrote: On 06/02/2015 05:15 AM, Michael S. Tsirkin wrote: On Mon, Jun 01, 2015 at 11:11:26PM -0400, Stefan Berger wrote: On 05/31/2015 02:11 PM, Michael S. Tsirkin wrote: On Tue, May 26, 2

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Michael S. Tsirkin
On Tue, Jun 02, 2015 at 09:22:40AM -0400, Stefan Berger wrote: > On 06/02/2015 05:15 AM, Michael S. Tsirkin wrote: > >On Mon, Jun 01, 2015 at 11:11:26PM -0400, Stefan Berger wrote: > >>On 05/31/2015 02:11 PM, Michael S. Tsirkin wrote: > >>>On Tue, May 26, 2015 at 05:33:41PM -0400, Stefan Berger wro

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Stefan Berger
On 06/02/2015 05:15 AM, Michael S. Tsirkin wrote: On Mon, Jun 01, 2015 at 11:11:26PM -0400, Stefan Berger wrote: On 05/31/2015 02:11 PM, Michael S. Tsirkin wrote: On Tue, May 26, 2015 at 05:33:41PM -0400, Stefan Berger wrote: For automated management of a TPM device, implement the TCG Physical

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-02 Thread Michael S. Tsirkin
On Mon, Jun 01, 2015 at 11:11:26PM -0400, Stefan Berger wrote: > On 05/31/2015 02:11 PM, Michael S. Tsirkin wrote: > >On Tue, May 26, 2015 at 05:33:41PM -0400, Stefan Berger wrote: > >>For automated management of a TPM device, implement the TCG Physical > >>Presence > >>Interface Specification tha

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-06-01 Thread Stefan Berger
On 05/31/2015 02:11 PM, Michael S. Tsirkin wrote: On Tue, May 26, 2015 at 05:33:41PM -0400, Stefan Berger wrote: For automated management of a TPM device, implement the TCG Physical Presence Interface Specification that allows a root user on Linux (for example) to set an opcode for a sequence of

Re: [Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-05-31 Thread Michael S. Tsirkin
On Tue, May 26, 2015 at 05:33:41PM -0400, Stefan Berger wrote: > For automated management of a TPM device, implement the TCG Physical Presence > Interface Specification that allows a root user on Linux (for example) to set > an opcode for a sequence of TPM operations that the BIOS is supposed to >

[Qemu-devel] [PATCH v3 3/6] Support Physical Presence Interface Spec

2015-05-26 Thread Stefan Berger
For automated management of a TPM device, implement the TCG Physical Presence Interface Specification that allows a root user on Linux (for example) to set an opcode for a sequence of TPM operations that the BIOS is supposed to execute upon reboot of the physical or virtual machine. A sequence of o