From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: passing smbios table from qemu Date: Thu, 9 Jan 2014 14:00:50 -0500 Message-ID: <20140109190049.GB17806@pegasus.dumpdata.com> References: <3B22ECA2D19A3D408C83F4F15A9CB7D45075EA57@G4W3221.americas.hpqcorp.net> <1389102962.12612.19.camel@kazak.uk.xensource.com> <92B37F2487AE0841841737618F25AC1A1918AABE@FTLPEX01CL03.citrite.net> <1389261984.27473.46.camel@kazak.uk.xensource.com> <52CEB663.4070609@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <52CEB663.4070609@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ross Philipson Cc: "Zhang, Eniac" , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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@lists.xen.org [mailto:xen-devel- > >>>bounces@lists.xen.org] On Behalf Of Ian Campbell > >>>Sent: Tuesday, January 07, 2014 8:56 AM > >>>To: Zhang, Eniac > >>>Cc: xen-devel@lists.xen.org > >>>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@lists.xen.org > http://lists.xen.org/xen-devel