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 docs/specs/tpm.txt | 106 +++++++++++++++++++++ hw/tpm/tpm_emulator.c | 323 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- hw/tpm/tpm_tis.c | 52 +++++++++- hw/tpm/trace-events | 9 +- tests/Makefile.include | 3 + tests/tpm-crb-swtpm-test.c | 247 +++++++++++++++++++++++++++++++++++++++++++++++ tests/tpm-util.c | 186 ++++++++++++++++++++++++++++++++++++ tests/tpm-util.h | 36 +++++++ 8 files changed, 948 insertions(+), 14 deletions(-) create mode 100644 tests/tpm-crb-swtpm-test.c create mode 100644 tests/tpm-util.c create mode 100644 tests/tpm-util.h -- 2.14.3