|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] VM SMBIOS struct field manipulation
Well, maybe. It depends how useful that is, really, and how you would even specify arbitrary changes to the SMBIOS structures in the config file. It’ll undoubtedly make a mess of the toolstack. For particular VM-specific changes you might be better just to change the SMBIOS code in hvmloader and build a VM-specific hvmloader binary.
-- Keir
On 8/11/07 23:23, "C.J. Adams-Collier" <cjcollier@xxxxxxxxx> wrote:
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> <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 .
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|