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] VM SMBIOS struct field manipulation

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] VM SMBIOS struct field manipulation
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=+mpruuJPOXrg1rF5XodldkLrRn6ny77x3AY3Y7uTYu4=; b=pA50tJ5Xw5td2B0HV6LH1Ym68C4HPuRUfTLfTyU1Lnv+3wVuU42ukzRKA6Z1eA6UIWJFEoyPCCi+wceANexiyuutmwAzweKOh+/yVIjFhJ9CQzdALxW1qxNBnGFHpqgHOi5MpFMmepX13sBtA80SV3j8hDz/saB5GHCeVEZrmso=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C358705E.10172%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>
References: <33f90540711071640l78db064hae3934f30b08bf0a@xxxxxxxxxxxxxx> <C358705E.10172%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?

Cheers,

C.J.

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.

Cheers,

C.J .




--
moo.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>