Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

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

To: Stefan Berger <stefanb@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [HVM] [TPM] [1/3] Add TPM TIS type of device toACPI device list
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 27 Oct 2006 17:57:52 +0100
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 Oct 2006 10:10:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OFAE6DA5C7.B85FA4D0-ON85257214.005BDD10-85257214.005D9C31@xxxxxxxxxx>
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
Thread-index: Acb56QosSOdZYmXcEduHzQANk04WTA==
Thread-topic: [Xen-devel] [PATCH] [HVM] [TPM] [1/3] Add TPM TIS type of device toACPI device list
User-agent: Microsoft-Entourage/11.2.5.060620
On 27/10/06 6:02 pm, "Stefan Berger" <stefanb@xxxxxxxxxx> wrote:

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.

I think your above proposed solution is correct: either dynamically append info to a static spartan ACPI table, or dynamically trim down a static ‘christmas tree’ ACPI table. Probably the former is best, and done in hvmloader.

 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel