From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz7hx-00085q-Kj for qemu-devel@nongnu.org; Sun, 31 May 2015 14:11:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yz7hu-00047R-Ed for qemu-devel@nongnu.org; Sun, 31 May 2015 14:11:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz7hu-00046n-9t for qemu-devel@nongnu.org; Sun, 31 May 2015 14:11:34 -0400 Date: Sun, 31 May 2015 20:11:31 +0200 From: "Michael S. Tsirkin" Message-ID: <20150531181130.GF5268@redhat.com> References: <1432676024-1046793-1-git-send-email-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432676024-1046793-1-git-send-email-stefanb@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v3 0/6] Extend TPM support with a QEMU-external TPM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger Cc: imammedo@redhat.com, qemu-devel@nongnu.org, quan.xu@intel.com On Tue, May 26, 2015 at 05:33:38PM -0400, Stefan Berger wrote: > The following series of patches extends TPM support with an > external TPM that offers a Linux CUSE (character device in userspace) > interface. This TPM lets each VM access its own private vTPM. > The CUSE TPM supports suspend/resume and migration. Much > out-of-band functionality necessary to control the CUSE TPM is > implemented using ioctl's. > > The series extends the TPM support so far that most functionality of > TPM support on a physical platform is now available to each x86 VM, > this includes the Physical Presence Interface support that has > its counter-part in the SeaBIOS and is implemented using ACPI. So I'm waiting for v4 of this with Eric's comments addressed? > Stefan Berger (6): > Provide support for the CUSE TPM > Introduce RAM location in vendor specific area in TIS > Support Physical Presence Interface Spec > Introduce condition to notifiy waiters of completed command > Introduce condition in TPM backend for notification > Add support for VM suspend/resume for TPM TIS > > hmp.c | 6 + > hw/i386/ssdt-tpm-common.dsl | 182 ++++++++++++++ > hw/i386/ssdt-tpm.dsl | 1 + > hw/i386/ssdt-tpm.hex.generated | 540 +++++++++++++++++++++++++++++++++++++++- > hw/i386/ssdt-tpm2.dsl | 1 + > hw/i386/ssdt-tpm2.hex.generated | 516 +++++++++++++++++++++++++++++++++++++- > hw/tpm/tpm_int.h | 4 + > hw/tpm/tpm_ioctl.h | 178 +++++++++++++ > hw/tpm/tpm_passthrough.c | 423 ++++++++++++++++++++++++++++++- > hw/tpm/tpm_tis.c | 180 +++++++++++++- > hw/tpm/tpm_tis.h | 4 + > hw/tpm/tpm_util.c | 206 +++++++++++++++ > hw/tpm/tpm_util.h | 7 + > include/hw/acpi/tpm.h | 19 ++ > include/sysemu/tpm_backend.h | 12 + > qapi-schema.json | 17 +- > qemu-options.hx | 21 +- > qmp-commands.hx | 2 +- > tpm.c | 11 +- > 19 files changed, 2298 insertions(+), 32 deletions(-) > create mode 100644 hw/tpm/tpm_ioctl.h > > -- > 1.9.3 >