WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] [HVM] [TPM] [1/3] Add TPM TIS type of device toA

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [HVM] [TPM] [1/3] Add TPM TIS type of device toACPI device list
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Fri, 27 Oct 2006 13:02:31 -0400
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 Oct 2006 10:03:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C167F18A.385A%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote on 10/27/2006 12:25:30 PM:

> What if the guest isn’t configured with a TPM device? It seems a bit
> dodgy to advertise a non-existent device in the BIOS tables.


To solve this we would need one of the following
- a BIOS that probes for such devices and dynamically appends the info to the (static) ACPI tables
- a tool that builds and compiles the ACPI tables according to the desired configuration of the HVM VM before the HVM is started

A later version (2.6.18) of the corresponding Linux driver allows you to modprobe the module with a '-force' parameter for platforms where the correct ACPI information is not available. [In that case if the vTPM facility is not available, the /dev/tpm0 won't become available.]

I am not sure what the right solution is.


  Stefan

>
>  -- Keir
>
> On 24/10/06 7:48 pm, "Stefan Berger" <stefanb@xxxxxxxxxx> wrote:

> This patch adds a TPM TIS type of device to the ACPI device list which
> is supported for example by the Linux TPM TIS driver.
> The specification describing this entry can be found here:
>
> https://www.trustedcomputinggroup.
> org/specs/PCClient/TCG_PCClientImplementationforBIOS_1-20_1-00.pdf
>
> Section 9 in the document describes the device entry.
>
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel