From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: lo1@us.ibm.com, James.Bottomley@HansenPartnership.com,
qemu-ppc@nongnu.org, clg@kaod.org, marcandre.lureau@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/2] Add vTPM emulator supportfor ppc64 platform
Date: Tue, 5 Dec 2017 15:45:34 -0500 [thread overview]
Message-ID: <6e60d979-30c9-700c-9958-e4fbafd96d49@linux.vnet.ibm.com> (raw)
In-Reply-To: <1512506153-8011-1-git-send-email-stefanb@linux.vnet.ibm.com>
On 12/05/2017 03:35 PM, Stefan Berger wrote:
> The following series of patches adds vTPM emulator support for the
> ppc64 platform (pSeries).
>
> It can be tested as follows with swtpm/libtpms:
>
> #> swtpm socket --tpmstate dir=/tmp/mytpm1 \
> --ctrl type=unixio,path=/tmp/mytpm1/ctrl.sock \
> --log level=2
>
> If TPM 2 is desired, add --tpm2 as parameter to the above
> and use the latest tpm2-preview branches of libtpms and swtpm.
>
> In another terminal start QEMU:
>
> #> sudo ./ppc64-softmmu/qemu-system-ppc64 -m 1024 \
> -monitor stdio -vnc :12 -vga std \
> --chardev socket,id=chrtpm,path=/tmp/mytpm1/ctrl.sock \
> -tpmdev emulator,id=tpm0,chardev=chrtpm \
> -device tpm-spapr,tpmdev=tpm0 \
> -L /tmp -bios boot_rom.bin \
> myimage.raw
>
> Links:
> - libtpms: https://github.com/stefanberger/libtpms/wiki
> - swtpm: https://github.com/stefanberger/swtpm/wiki
The migration patch builds on a series of previous patches. These and
this series of patches can be found in my working branch:
https://github.com/stefanberger/qemu-tpm/commits/tpm-next+
>
> Regards,
> Stefan
>
>
> Stefan Berger (2):
> tpm_spapr: Support TPM for ppc64 using CRQ based interface
> tpm_spapr: Support suspend and resume
>
> hw/tpm/Makefile.objs | 1 +
> hw/tpm/tpm_spapr.c | 433 +++++++++++++++++++++++++++++++++++++++++++++++++++
> include/sysemu/tpm.h | 3 +
> qapi/tpm.json | 5 +-
> 4 files changed, 440 insertions(+), 2 deletions(-)
> create mode 100644 hw/tpm/tpm_spapr.c
>
prev parent reply other threads:[~2017-12-05 20:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 20:35 [Qemu-devel] [PATCH 0/2] Add vTPM emulator supportfor ppc64 platform Stefan Berger
2017-12-05 20:35 ` [Qemu-devel] [PATCH 1/2] tpm_spapr: Support TPM for ppc64 using CRQ based interface Stefan Berger
2017-12-06 7:26 ` Cédric Le Goater
2017-12-06 11:53 ` Stefan Berger
2017-12-08 18:17 ` Cédric Le Goater
2017-12-08 21:17 ` Stefan Berger
2017-12-05 20:35 ` [Qemu-devel] [PATCH 2/2] tpm_spapr: Support suspend and resume Stefan Berger
2017-12-05 20:45 ` Stefan Berger [this message]
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=6e60d979-30c9-700c-9958-e4fbafd96d49@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=clg@kaod.org \
--cc=lo1@us.ibm.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.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).