From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Philipson Subject: Re: HVM firmware passthrough - helper library Date: Mon, 4 Feb 2013 13:42:43 -0500 Message-ID: <831D55AF5A11D64C9B4B43F59EEBF720A320A93B7B@FTLPMAILBOX02.citrite.net> References: <831D55AF5A11D64C9B4B43F59EEBF720A31FBE1BC0@FTLPMAILBOX02.citrite.net> <1357728271.7989.220.camel@zakaz.uk.xensource.com> <831D55AF5A11D64C9B4B43F59EEBF720A320A939F0@FTLPMAILBOX02.citrite.net> <1359973450.5281.30.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1359973450.5281.30.camel@zakaz.uk.xensource.com> Content-Language: en-US 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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Ian Campbell > Sent: Monday, February 04, 2013 5:24 AM > To: Ross Philipson > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] HVM firmware passthrough - helper library > > On Fri, 2013-02-01 at 20:26 +0000, Ross Philipson wrote: > > > -----Original Message----- > > > From: Ian Campbell > > > Sent: Wednesday, January 09, 2013 5:45 AM > > > To: Ross Philipson > > > Cc: xen-devel@lists.xensource.com; Art Napor (artnapor@yahoo.com) > > > Subject: Re: [Xen-devel] HVM firmware passthrough - helper library > > > > > > On Tue, 2013-01-08 at 22:04 +0000, Ross Philipson wrote: > > > > Attached is a tarball with a helper library for reading host ACPI > and > > > > SMBIOS firmware and creating firmware files that can be used with > the > > > > HVM firmware passthrough patches I submitted. I used it in my > testing > > > > of the patches and planned to use it later when we moved to a new > Xen > > > > version. This library was requested by a few people - I hope you > find > > > > it useful. > > > > > > Would it make sense / are you planning to integrate this into the > Xen > > > tree as well? I'm not sure if it fits into an existing library e.g. > > > libxenguest if it would be a separate library. > > > > > > Ian. > > > > Following up on this. Is there any interest in integrating this into > > xen? I don't think it belongs in xenguest because it would be used up > > at the libxl level where the fw blobs are passed in via the xl config > > file. It seems like it should be in some separate utilities library > > but I can't really see where. > > Maybe the best place would be in libxl itself, or perhaps better in > libxlu? > > Toolstacks are supposed to be moving towards using libxl(u) anyway and > even in the interim linking against the library for just these functions > is no great hardship. > > Ian. Ok, yeah. I was looking at libxlu on Friday. I just wasn't really sure what the intended scope of that library was. But the routines in that helper library to snarf firmware bits are pretty much utility functions. I can try knocking something together in libxlu and submit it. Thanks Ross