On 01/09/2017 01:51 PM, James Bottomley wrote:
> On Mon, 2017-01-09 at 13:41 -0500, Stefan Berger wrote:
>> On 01/09/2017 01:24 PM, James Bottomley wrote:
>>> On Mon, 2017-01-09 at 13:03 -0500, Stefan Berger wrote:
>>>> Examples:
>>>> ./src/vtpmctrl --tpm2 \
>>>>      --spawn /bin/swtpm chardev --tpm2 --fd %fd --tpmstate
>>>> dir=/tmp
>>> git head for swtpm is giving
>>>
>>> Created TPM device /dev/tpm1; vTPM device has fd 4, major/minor =
>>> 247/1.
>>> chardev: unrecognized option '--tpm2'
>> You need the tpm2-preview branches of libtpms and swtpm. Why you need
>> them is related to the format in which the persistent data are
>> written by the TPM 2 implementation. For QEMU it should probably big
>> endian, but so far it's not.
>>
>> Here's a short wiki of libtpms pointing out the issues.
>>
>> https://github.com/stefanberger/libtpms/wiki
>>
>> https://github.com/stefanberger/libtpms/tree/tpm2-previewa.rev138
>> https://github.com/stefanberger/swtpm/tree/tpm2-preview
> Basically the synopsis is that it's not yet working well enough to run
> the resource manager smoke tests and I need to continue using the
> ibmswtpm2 as the emulator or run against the real thing for the time
> being.

Have you tried it ?

    Stefan


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
tpmdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to