Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-24 Thread Andreas Niederl
On 02/18/2011 05:37 PM, Stefan Berger wrote: [...] I have a tpm_tis.c with major changes in it getting rid of the polling, closer to specs that passes a test suite and a registerable backend as well that has several more interface functions, due to support for snapshotting etc. Unfortunately

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-24 Thread Stefan Berger
On 02/24/2011 10:30 AM, Andreas Niederl wrote: On 02/18/2011 05:37 PM, Stefan Berger wrote: [...] I have a tpm_tis.c with major changes in it getting rid of the polling, closer to specs that passes a test suite and a registerable backend as well that has several more interface functions, due to

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-22 Thread Stefan Berger
On 02/21/2011 12:03 PM, Andreas Niederl wrote: On 02/18/2011 09:27 PM, Stefan Berger wrote: On 02/18/2011 12:37 PM, Andreas Niederl wrote: [...] So I'm guessing that this library is not publicly available right now? Not via the fedora repository at least. So yum install does not work, yet.

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-21 Thread Andreas Niederl
On 02/18/2011 09:27 PM, Stefan Berger wrote: On 02/18/2011 12:37 PM, Andreas Niederl wrote: [...] So I'm guessing that this library is not publicly available right now? Not via the fedora repository at least. So yum install does not work, yet. Is the source code available in a public version

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-21 Thread Andreas Niederl
On 02/18/2011 10:03 PM, Stefan Berger wrote: On 02/18/2011 10:33 AM, Andreas Niederl wrote: [...] +static ISADeviceInfo tpm_info = { +.init = tpm_init, +.qdev.name = tpm, +.qdev.desc = TPM TIS Interface, +.qdev.size = sizeof (TPMState), +.qdev.vmsd

[Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-18 Thread Andreas Niederl
This implementation is based on the TPM 1.2 interface for virtualized TPM devices from the Xen-4.0.0 ioemu-qemu-xen fork. A backend driver infrastructure is provided to be able to use different device backends. Signed-off-by: Andreas Niederl andreas.nied...@iaik.tugraz.at --- Makefile.objs|

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-18 Thread Stefan Berger
On 02/18/2011 10:33 AM, Andreas Niederl wrote: This implementation is based on the TPM 1.2 interface for virtualized TPM devices from the Xen-4.0.0 ioemu-qemu-xen fork. A backend driver infrastructure is provided to be able to use different device backends. Signed-off-by: Andreas

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-18 Thread Andreas Niederl
On 02/18/2011 05:37 PM, Stefan Berger wrote: On 02/18/2011 10:33 AM, Andreas Niederl wrote: This implementation is based on the TPM 1.2 interface for virtualized TPM devices from the Xen-4.0.0 ioemu-qemu-xen fork. A backend driver infrastructure is provided to be able to use different device

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-18 Thread Stefan Berger
On 02/18/2011 12:37 PM, Andreas Niederl wrote: On 02/18/2011 05:37 PM, Stefan Berger wrote: On 02/18/2011 10:33 AM, Andreas Niederl wrote: This implementation is based on the TPM 1.2 interface for virtualized TPM devices from the Xen-4.0.0 ioemu-qemu-xen fork. A backend driver infrastructure

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-18 Thread Stefan Berger
On 02/18/2011 10:33 AM, Andreas Niederl wrote: + +static const VMStateDescription vmstate_loc = { +.name = loc, +.version_id = 0, +.fields = (VMStateField []) { +VMSTATE_UINT32(state, TPMLocality), +VMSTATE_UINT32(inte, TPMLocality), +