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

Re: [Xen-devel] VM SMBIOS struct field manipulation

  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "C.J. Adams-Collier" <cjcollier@xxxxxxxxx>
  • Date: Thu, 8 Nov 2007 15:23:30 -0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 08 Nov 2007 15:24:08 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=E5c7W9KSFfpnp5tv38LQt/f6/+QimUqcwF3CienNM9eIyw3UWSgm0NI8oiGDvq4Hq0KZHvhe0QAp/VnPTas0KXJbRumYlqVRAlMK5uS4V9v7lXyUsy/65U/kNGgXg0JEFPppiTcL38fY1tVVWOwmNuWb/E2f5SDjDLhwFwqOqAY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Great.  Thanks Kier,

I'll get familiar with it.  If we create a patch to allow SMBIOS structure updates from a data source via dom0, would you want it?

It looks like using a custom boot_ioremap from linux-2.6.18-xen.hg /arch/i(386|a64)/kernel/efi.c might allow manipulation of smbios fields for PV guests.  Are you familiar enough with this code to tell me whether I'm entirely off base here?



On Nov 7, 2007 11:50 PM, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
PV guests don't get an SMBIOS table; only HVM guests do. To change the structure (Which is fairly hardcoded) you need to modify the hvmloader sources. Look at tools/firmware/hvmloader/smbios.c.

 -- Keir

On 8/11/07 00:40, "C.J. Adams-Collier" <cjcollier@xxxxxxxxx> wrote:

Hey folks,

Is it possible to define smbios struct fields <http://src.vmindex.org/xen_3.0.4/xref/src/tools/firmware/hvmloader/smbios_types.h#75>  in the xmdomain.cfg <http://src.vmindex.org/xen_3.0.4/xref/src/docs/man/xmdomain.cfg.pod.5>  files?

If not, which files should I patch?  Do I need to create my own "device_model" or "loader" driver?  I would like to do this for both HV and PV.


C.J .

Xen-devel mailing list



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