<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tpm, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tpm?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tpm?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2013-04-15T16:19:25+00:00</updated>
<entry>
<title>tpm: reorganize headers and split hardware part</title>
<updated>2013-04-15T16:19:25+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2013-04-02T16:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bdee56f5466a724f043e6cfcfcf69866cc48cc94'/>
<id>urn:sha1:bdee56f5466a724f043e6cfcfcf69866cc48cc94</id>
<content type='text'>
The TPM subsystem does not have a full front-end/back-end separation.
The sole available backend, tpm_passthrough, depends on the data
structures of the sole available frontend, tpm_tis.

However, we can at least try to split the user interface (tpm.c) from the
implementation (hw/tpm).  The patches makes tpm.c not include tpm_int.h,
which is shared between tpm_tis.c and tpm_passthrough.c; instead it
moves more stuff to tpm_backend.h.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure: fix TPM logic</title>
<updated>2013-04-15T13:16:41+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2013-03-18T15:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3b8acc11d3f60792f9f716f2a93c258e729af980'/>
<id>urn:sha1:3b8acc11d3f60792f9f716f2a93c258e729af980</id>
<content type='text'>
A non-native i386 or x86_64 emulator should not have TPM passthrough
support, since the TPM is only present for those hosts.

Reviewed-by: Andreas Färber &lt;afaerber@suse.de&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw: move headers to include/</title>
<updated>2013-04-08T16:13:10+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2013-02-05T16:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0d09e41a51aa0752b1ce525ce084f7cd210e461b'/>
<id>urn:sha1:0d09e41a51aa0752b1ce525ce084f7cd210e461b</id>
<content type='text'>
Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>tpm: Fix several compiler warnings (redefined data types)</title>
<updated>2013-04-03T20:06:03+00:00</updated>
<author>
<name>Stefan Weil</name>
</author>
<published>2013-04-02T20:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8243b0464b247ff460178a15f1fe306ef9c70b49'/>
<id>urn:sha1:8243b0464b247ff460178a15f1fe306ef9c70b49</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Message-id: 1364933691-21197-1-git-send-email-sw@weilnetz.de
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>QOM-ify the TPM support</title>
<updated>2013-04-02T13:15:18+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2013-03-28T11:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8f0605cc9caacbcc647a6df9ae541ed2da4b9bb0'/>
<id>urn:sha1:8f0605cc9caacbcc647a6df9ae541ed2da4b9bb0</id>
<content type='text'>
QOM-ified the TPM support with much code borrowed from the rng implementation.

All other TPM related code moves will be provided in a subsequent patch.

Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Message-id: 1364469981.24703.1.camel@d941e-10
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>QMP: Remove duplicate TPM type from query-tpm</title>
<updated>2013-03-25T20:21:33+00:00</updated>
<author>
<name>Corey Bryant</name>
</author>
<published>2013-03-20T16:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=88ca7bcff1806594c80782ad19ba50db47086b23'/>
<id>urn:sha1:88ca7bcff1806594c80782ad19ba50db47086b23</id>
<content type='text'>
Signed-off-by: Corey Bryant &lt;coreyb@linux.vnet.ibm.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Luiz Capitulino &lt;lcapitulino@redhat.com&gt;
</content>
</entry>
<entry>
<title>Add support for cancelling of a TPM command</title>
<updated>2013-03-12T18:40:55+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2013-02-27T17:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=92dcc234ec1f266fb5d59bed77d66320c2c75965'/>
<id>urn:sha1:92dcc234ec1f266fb5d59bed77d66320c2c75965</id>
<content type='text'>
This patch adds support for cancelling an executing TPM command.
In Linux for example a user can cancel a command through the TPM's
sysfs 'cancel' entry using

echo "1" &gt; /sysfs/class/misc/tpm0/device/cancel

This patch propagates the cancellation of a command inside a VM
to the host TPM's sysfs entry.
It also uses the possibility to cancel the command before QEMU VM
shutdown or reboot, which helps in preventing QEMU from hanging while
waiting for the completion of the command.
To relieve higher layers or users from having to determine the TPM's
cancel sysfs entry, the driver searches for the entry in well known
locations.

Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Reviewed-by: Corey Bryant &lt;coreyb@linux.vnet.ibm.com&gt;
Reviewed-by: Joel Schopp &lt;jschopp@linux.vnet.ibm.com&gt;
Message-id: 1361987275-26289-7-git-send-email-stefanb@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add a TPM Passthrough backend driver implementation</title>
<updated>2013-03-12T18:40:55+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2013-02-27T17:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4549a8b7ee3c47155c09582f31086f7d0ba61fc4'/>
<id>urn:sha1:4549a8b7ee3c47155c09582f31086f7d0ba61fc4</id>
<content type='text'>
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 &lt;andreas.niederl@iaik.tugraz.at&gt;
Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Reviewed-by: Corey Bryant &lt;coreyb@linux.vnet.ibm.com&gt;
Reviewed-by: Joel Schopp &lt;jschopp@linux.vnet.ibm.com&gt;
Message-id: 1361987275-26289-6-git-send-email-stefanb@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Build the TPM frontend code</title>
<updated>2013-03-12T18:40:12+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2013-02-27T17:47:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ab214c2960e3a6d2a86b1ff53e9ba2505d173f93'/>
<id>urn:sha1:ab214c2960e3a6d2a86b1ff53e9ba2505d173f93</id>
<content type='text'>
Build the TPM frontend code that has been added so far.

Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Reviewed-by: Corey Bryant &lt;coreyb@linux.vnet.ibm.com&gt;
Reviewed-by: Joel Schopp &lt;jschopp@linux.vnet.ibm.com&gt;
Message-id: 1361987275-26289-5-git-send-email-stefanb@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add a debug register</title>
<updated>2013-03-12T18:40:12+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2013-02-27T17:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8db7c4152188a13b4de6fbab158d61e5dd50e7ec'/>
<id>urn:sha1:8db7c4152188a13b4de6fbab158d61e5dd50e7ec</id>
<content type='text'>
This patch uses the possibility to add a vendor-specific register and
adds a debug register useful for dumping the TIS's internal state. This
register is only active in a debug build (#define DEBUG_TIS).

Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Reviewed-by: Corey Bryant &lt;coreyb@linux.vnet.ibm.com&gt;
Reviewed-by: Joel Schopp &lt;jschopp@linux.vnet.ibm.com&gt;
Message-id: 1361987275-26289-4-git-send-email-stefanb@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
</content>
</entry>
</feed>
