Received: from eggs.gnu.org ([2001:4830:134:3::10]:41655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLtQL-0002oC-4H for qemu-devel@nongnu.org; Thu, 24 May 2018 12:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLtQH-0006PR-SH for qemu-devel@nongnu.org; Thu, 24 May 2018 12:49:09 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLtQH-0006Oy-JS for qemu-devel@nongnu.org; Thu, 24 May 2018 12:49:05 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4OGdZsx133634 for ; Thu, 24 May 2018 12:49:04 -0400 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j5xq2rc4v-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 24 May 2018 12:49:03 -0400 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 24 May 2018 12:49:02 -0400 From: Stefan Berger Date: Thu, 24 May 2018 12:48:53 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20180524164857.3014670-1-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PULL v3 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-3 for you to fetch changes up to 37fa382f327405b6516e9983c1aa1ca32c726892: test: Add test cases that use the external swtpm with CRB interface (2018-05-24 12:07:04 -0400) ---------------------------------------------------------------- Merge tpm 2018/05/23 v3 ---------------------------------------------------------------- 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