[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/6] Extend TPM support with a QEMU-external TPM
From: |
Stefan Berger |
Subject: |
[Qemu-devel] [PATCH v2 0/6] Extend TPM support with a QEMU-external TPM |
Date: |
Fri, 8 May 2015 12:15:14 -0400 |
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.
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.dsl | 189 +++++++++++++++++++
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 | 20 ++
include/sysemu/tpm_backend.h | 12 ++
qapi-schema.json | 17 +-
qemu-options.hx | 21 ++-
qmp-commands.hx | 2 +-
tpm.c | 11 +-
15 files changed, 1262 insertions(+), 18 deletions(-)
create mode 100644 hw/tpm/tpm_ioctl.h
--
1.9.3
- [Qemu-devel] [PATCH v2 0/6] Extend TPM support with a QEMU-external TPM,
Stefan Berger <=
- [Qemu-devel] [PATCH v2 4/6] Introduce condition to notifiy waiters of completed command, Stefan Berger, 2015/05/08
- [Qemu-devel] [PATCH v2 2/6] Introduce RAM location in vendor specific area in TIS, Stefan Berger, 2015/05/08
- [Qemu-devel] [PATCH v2 5/6] Introduce condition in TPM backend for notification, Stefan Berger, 2015/05/08
- [Qemu-devel] [PATCH v2 1/6] Provide support for the CUSE TPM, Stefan Berger, 2015/05/08
- [Qemu-devel] [PATCH v2 6/6] Add support for VM suspend/resume for TPM TIS, Stefan Berger, 2015/05/08
- [Qemu-devel] [PATCH v2 3/6] Support Physical Presence Interface Spec, Stefan Berger, 2015/05/08