Received: from eggs.gnu.org ([2001:4830:134:3::10]:52370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLeZm-0006NC-3k for qemu-devel@nongnu.org; Wed, 23 May 2018 20:57:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLeZj-000700-2t for qemu-devel@nongnu.org; Wed, 23 May 2018 20:57:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:45774 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLeZi-0006z0-TN for qemu-devel@nongnu.org; Wed, 23 May 2018 20:57:51 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4O0n62a091088 for ; Wed, 23 May 2018 20:57:49 -0400 Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.152]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j5f6sgnmn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 23 May 2018 20:57:48 -0400 Received: from localhost by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 23 May 2018 18:57:48 -0600 From: Stefan Berger Date: Wed, 23 May 2018 20:57:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20180524005741.1042749-1-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PULL v1 0/4] Merge tpm 2018/05/23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, marcandre.lureau@redhat.com, Stefan Berger 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