Stefan Berger 4549a8b7ee Add a TPM Passthrough backend driver implementation
This patch is based of off version 9 of Stefan Berger's patch series
  "QEMU Trusted Platform Module (TPM) integration"
and adds a new backend driver for it.

This patch adds a passthrough backend driver for passing commands sent to the
emulated TPM device directly to a TPM device opened on the host machine.
Thus it is possible to use a hardware TPM device in a system running on QEMU,
providing the ability to access a TPM in a special state (e.g. after a Trusted
Boot).

This functionality is being used in the acTvSM Trusted Virtualization Platform
which is available on [1].

Usage example:
  qemu-system-x86_64 -tpmdev passthrough,id=tpm0,path=/dev/tpm0 \
                     -device tpm-tis,tpmdev=tpm0 \
                     -cdrom test.iso -boot d

Some notes about the host TPM:
The TPM needs to be enabled and activated. If that's not the case one
has to go through the BIOS/UEFI and enable and activate that TPM for TPM
commands to work as expected.
It may be necessary to boot the kernel using tpm_tis.force=1 in the boot
command line or 'modprobe tpm_tis force=1' in case of using it as a module.

Regards,
Andreas Niederl, Stefan Berger

[1] http://trustedjava.sourceforge.net/

Signed-off-by: Andreas Niederl <andreas.niederl@iaik.tugraz.at>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Reviewed-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
Message-id: 1361987275-26289-6-git-send-email-stefanb@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-03-12 13:40:55 -05:00
2013-03-05 17:51:51 +01:00
2013-03-11 07:39:47 -05:00
2012-12-19 08:29:06 +01:00
2013-02-28 09:19:00 +01:00
2012-10-24 10:26:22 +02:00
2013-02-28 09:19:00 +01:00
2013-03-04 09:54:17 +01:00
2013-03-04 08:22:41 -06:00
2013-02-21 10:38:07 +01:00
2012-11-01 13:10:06 +01:00
2013-02-21 16:17:31 -06:00
2013-03-11 13:32:03 +01:00
2013-02-21 16:17:31 -06:00
2013-03-12 13:40:12 -05:00
2013-02-16 10:45:19 +00:00
2013-02-16 14:50:59 +01:00
2013-03-04 09:54:17 +01:00
2013-03-12 13:40:11 -05:00
2013-03-12 13:40:11 -05:00
2013-02-21 16:17:31 -06:00
2013-03-08 21:17:46 +01:00
2013-02-16 11:12:13 +00:00
2013-03-11 13:32:03 +01:00
2013-03-12 13:40:11 -05:00
2013-03-11 13:32:03 +01:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:29:42 +01:00
2013-02-22 21:29:43 +01:00
2013-02-22 21:29:43 +01:00
2013-02-18 08:39:10 -06:00
2013-02-15 17:40:56 -06:00
2013-03-12 13:40:11 -05:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 528 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%