On 05/24/2018 11:04 AM, Peter Maydell wrote:
> On 24 May 2018 at 01:57, Stefan Berger <stefanb@linux.vnet.ibm.com> wrote:
>> This series of patches adds TPM emulator state migration support and a
>> test case for testing (local) migration.
>>
>> Stefan
>>
>> The following changes since commit 4f50c1673a89b07f376ce5c42d22d79a79cd466d:
>>
>> Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' into staging (2018-05-22 09:43:58 +0100)
>>
>> are available in the Git repository at:
>>
>> git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2018-05-23-1
>>
>> for you to fetch changes up to 319bb20d1e88ea2e13baeb158a4989eceeee5e86:
>>
>> test: Add test cases that use the external swtpm with CRB interface (2018-05-23 20:35:25 -0400)
>>
>> ----------------------------------------------------------------
>> Merge tpm 2018/05/23 v1
>>
>> ----------------------------------------------------------------
>> Stefan Berger (4):
>> tpm: extend TPM emulator with state migration support
>> tpm: extend TPM TIS with state migration support
>> docs: tpm: add VM save/restore example and troubleshooting guide
>> test: Add test cases that use the external swtpm with CRB interface
>>
> Hi. I'm afraid this fails to build on OpenBSD:
>
> CC hw/tpm/tpm_emulator.o
> /home/qemu/hw/tpm/tpm_emulator.c: In function 'tpm_emulator_set_state_blobs':
> /home/qemu/hw/tpm/tpm_emulator.c:794:17: error: 'EBADMSG' undeclared
> (first use in this function)
> return -EBADMSG;
Ok. Fixing to -EIO, which is also good.
Stefan