qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Quan Xu <quan.xu@intel.com>
To: kevin@koconnor.net
Cc: stefanb@linux.vnet.ibm.com, xen-devel@lists.xen.org,
	qemu-devel@nongnu.org, Quan Xu <quan.xu@intel.com>,
	stefano.stabellini@eu.citrix.com
Subject: [Qemu-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine
Date: Tue, 10 Mar 2015 08:16:03 -0400	[thread overview]
Message-ID: <1425989764-2926-1-git-send-email-quan.xu@intel.com> (raw)

This patch series are only the SeaBios part to enable stubdom vTPM for HVM
virtual machine. It will work with Qemu patch series and Xen patch series.

========================
    *INTRODUCTION*
========================
The goal of virtual Trusted Platform Module (vTPM) is to provide a TPM functionality
to virtual machines (Fedora, Ubuntu, Redhat, Windows .etc). This allows programs
to interact with a TPM in a virtual machine the same way they interact with a TPM
on the physical system. Each virtual machine gets its own unique, emulated, software
TPM. Each major component of vTPM is implemented as a stubdom, providing secure
separation guaranteed by the hypervisor.

The vTPM stubdom is a Xen mini-OS domain that emulates a TPM for the virtual machine
to use. It is a small wrapper around the Berlios TPM emulator. TPM commands are passed
from mini-os TPM backend driver.


Signed-off-by: Quan Xu <quan.xu@intel.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>

Quan Xu (1):
  SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

 Makefile   |   2 +-
 src/post.c |   3 +
 src/tpm.c  | 309 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/tpm.h  | 141 ++++++++++++++++++++++++++++
 4 files changed, 454 insertions(+), 1 deletion(-)
 create mode 100644 src/tpm.c
 create mode 100644 src/tpm.h

-- 
1.8.1.2

             reply	other threads:[~2015-03-10 17:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10 12:16 Quan Xu [this message]
2015-03-10 12:16 ` [Qemu-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine Quan Xu
2015-03-19 12:56   ` [Qemu-devel] [Xen-devel] " Ian Campbell
2015-03-20  1:35     ` Xu, Quan
2015-03-20 12:00       ` Stefan Berger
2015-03-20 11:43     ` Stefan Berger
2015-03-23  1:47       ` Xu, Quan
2015-03-23 10:57         ` Stefan Berger
2015-03-23 12:03           ` Xu, Quan
2015-03-23 20:00             ` Stefan Berger
2015-03-24  2:20               ` Xu, Quan
2015-03-24 15:21                 ` Stefan Berger
2015-03-25  1:51                   ` Xu, Quan
2015-03-11 19:49 ` [Qemu-devel] " Kevin O'Connor
2015-03-12  2:54   ` Xu, Quan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425989764-2926-1-git-send-email-quan.xu@intel.com \
    --to=quan.xu@intel.com \
    --cc=kevin@koconnor.net \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanb@linux.vnet.ibm.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).