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

Re: [Xen-devel] passing smbios table from qemu



On Thu, Jan 09, 2014 at 09:46:59AM -0500, Ross Philipson wrote:
> On 01/09/2014 05:06 AM, Ian Campbell wrote:
> >On Wed, 2014-01-08 at 18:29 +0000, Ross Philipson wrote:
> >>>-----Original Message-----
> >>>From: xen-devel-bounces@xxxxxxxxxxxxx [mailto:xen-devel-
> >>>bounces@xxxxxxxxxxxxx] On Behalf Of Ian Campbell
> >>>Sent: Tuesday, January 07, 2014 8:56 AM
> >>>To: Zhang, Eniac
> >>>Cc: xen-devel@xxxxxxxxxxxxx
> >>>Subject: Re: [Xen-devel] passing smbios table from qemu
> >>>
> >>>On Mon, 2014-01-06 at 21:01 +0000, Zhang, Eniac wrote:
> >>>
> >>>>Question, am I missing anything, or this feature (passing smbios) is
> >>>>still work in progress?
> >>>
> >>>Under Xen smbios tables are supplied via hvmloader, not via qemu.
> >>>
> >>>What tables and or values do you want to override/supply?
> >>>
> >>>I believe that libxc supports passing in extra smbios tables when
> >>>building the guest (via struct xc_hvm_build_args.smbios_module) but
> >>>nothing has been plumbed in to make use of this.
> >>>
> >>>I'm not aware of any on going work to plumb that stuff further up, e.g.
> >>>to libxl and xl or other toolstacks. (I think the libxc functionality is
> >>>only consumed by the XenClient toolstack).
> >>
> >>Just FYI, I did go back and add the support (and docs) for it in
> >>libxl. I did this after the first set of patches went in per someone's
> >>request (can't recall who it was at the moment).
> >
> >Ah yes, here it is:
> >        smbios_firmware="STRING"
> >            Specify a path to a file that contains extra SMBIOS firmware
> >            structures to pass in to a guest. The file can contain a set DMTF
> >            predefined structures which will override the internal defaults.
> >            Not all predefined structures can be overridden, only the
> >            following types: 0, 1, 2, 3, 11, 22, 39. The file can also 
> > contain
> >            any number of vendor defined SMBIOS structures (type 128 - 255).
> >            Since SMBIOS structures do not present their overall size, each
> >            entry in the file must be preceded by a 32b integer indicating 
> > the
> >            size of the next structure.
> >
> >Did you not have a tool/library for helping to create such blobs
> >somewhere? Or is my memory playing tricks?
> 
> Your memory is intact; I did provide a helper library. I posted it
> as a tarball since I could not figure out where such a thing might
> live in the xen tree. I posted it twice - the second time with some
> fixes:
> 
> http://lists.xen.org/archives/html/xen-devel/2013-03/msg01850.html

Would it make sense to try to have it as part of the Xen tree?
It looks in good shape.
> 
> 
> >
> >Ian.
> >
> >
> >-----
> >No virus found in this message.
> >Checked by AVG - www.avg.com
> >Version: 2014.0.4259 / Virus Database: 3658/6986 - Release Date: 01/08/14
> >
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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