From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Philipson Subject: Re: passing smbios table from qemu Date: Thu, 9 Jan 2014 09:46:59 -0500 Message-ID: <52CEB663.4070609@citrix.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1389261984.27473.46.camel@kazak.uk.xensource.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: Ian Campbell Cc: "Zhang, Eniac" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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 > > 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 >