From: Quan Xu <quan.xu@intel.com>
To: qemu-devel@nongnu.org
Cc: Quan Xu <quan.xu@intel.com>,
stefano.stabellini@eu.citrix.com, armbru@redhat.com,
lcapitulino@redhat.com, aliguori@amazon.com, pbonzini@redhat.com,
xen-devel@lists.xen.org
Subject: [Qemu-devel] [PATCH 0/4] Qemu-Xen-vTPM: enable Xen stubdom vTPM for HVM virtual machine
Date: Sun, 2 Nov 2014 01:39:17 -0500 [thread overview]
Message-ID: <1414910357-27644-1-git-send-email-quan.xu@intel.com> (raw)
This patch series are only the Qemu part to enable Xen stubdom vTPM for HVM virtual
machine. it will work w/ Xen patch series and seaBios patch series.
..
Build it with --enable-tpm and --enable-xen options and link with Xen, or change
QEMU_STUBDOM_VTPM compile option from 'n' to 'y' in <Xen>/Config.mk, when the Qemu/
SeaBios patch series are merged.
..
Run Xen virtual mahcine with below QEMU command line options:
"-tpmdev xenstubdoms,id=xenvtpm0 -device tpm-tis,tpmdev=xenvtpm0"
or Xen xl tool adds this options when virtual machine cfg includes:
**
vtpm=["backend=vtpmN"]
**
..
qemu-system-* --tpmdev help
Supported TPM types (choose only one):
passthrough Passthrough TPM backend driver
xenstubdoms Xenstubdoms TPM backend driver
Signed-off-by: Quan Xu <quan.xu@intel.com>
configure | 13 ++++
hmp.c | 7 ++
hw/tpm/Makefile.objs | 1 +
hw/tpm/tpm_xenstubdoms.c | 238 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
hw/xen/Makefile.objs | 1 +
hw/xen/xen_backend.c | 181 ++++++++++++++++++++++++++++++++++++++++++++++-
hw/xen/xen_stubdom_vtpm.c | 323 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/hw/xen/xen_backend.h | 11 +++
include/hw/xen/xen_common.h | 7 ++
qapi-schema.json | 17 ++++-
qemu-options.hx | 13 +++-
tpm.c | 7 +-
vl.c | 16 +++--
xen-hvm.c | 13 ++++
14 files changed, 835 insertions(+), 13 deletions(-)
next reply other threads:[~2014-11-02 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 6:39 Quan Xu [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-11-03 3:47 [Qemu-devel] [PATCH 0/4] Qemu-Xen-vTPM: enable Xen stubdom vTPM for HVM virtual machine Quan Xu
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=1414910357-27644-1-git-send-email-quan.xu@intel.com \
--to=quan.xu@intel.com \
--cc=aliguori@amazon.com \
--cc=armbru@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--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).