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

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

  • To: Stefan Berger <stefanb@xxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acb56QosSOdZYmXcEduHzQANk04WTA==
  • Thread-topic: [Xen-devel] [PATCH] [HVM] [TPM] [1/3] Add TPM TIS type of device toACPI device list

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.