qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [SeaBIOS] [PATCH V6 1/9] Add an implementation of a TPM


From: Stefan Berger
Subject: Re: [Qemu-devel] [SeaBIOS] [PATCH V6 1/9] Add an implementation of a TPM TIS driver
Date: Fri, 19 Aug 2011 15:13:42 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.11

On 08/19/2011 01:33 PM, Marc Jones wrote:
On Wed, Aug 10, 2011 at 10:51 AM, Stefan Berger
<address@hidden>  wrote:
This patch adds an implementation of a TPM TIS driver for the TPM TIS
emulation supported by Qemu (patches posted, not in git yet). Usage of the
driver is broken up into several functions. The driver is cleanly separated
from the rest of the code through an interface holding pointers to the driver's
functions. A client using this driver first probes whether the TPM TIS
interface is available (probe function) and then invokes the interface
function to initialze the interface and send requests and receive responses.

Possible future extensions *could* include a virtio interface for the TPM
with a corresponding driver here.

v6:
  - reworked timeouts; not hardcoded anymore

v5:
  - introducing a configurable threashold as part of the driver interface
    structure below which the TPM is used for calculating the sha1

v2:
  - adapted tpm_drivers.c to be under LGPLv3

Signed-off-by: Stefan Berger<address@hidden>
Hi Stefan,

Please excuse my TPM ignorance, but is the emulation of a specific
hardware device or has the TCG defined the registers etc for TPM
hardware?

Qemu patches provide the emulation of the specific hardware device that TCG (trusted comp. group) has defined the registers for. SeaBIOS implements a driver for it.

   Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]