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

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



On 01/10/2014 10:03 AM, Ian Campbell wrote:
On Fri, 2014-01-10 at 09:25 -0500, Ross Philipson wrote:
So I guess that is the question: where to put it? Should it be merged
into another lib or be brought in as a separate lib or utility?

I guess the choices are libxc, libxl, libxlutils or an entirely new lib?

At what level would we expect this to be used? Would it be internal to
e.g. libxl (in which case libxc or libxl would be appropriate) or would
toolstacks be expected to use it and pass the result to libxl? If that
is the case then libxc is inappropriate (users of libxl are not supposed
to have to deal with libxc directly).

I don't think it would be internal to libxl. I think it would be used the second way you mention; toolstacks would use it and pass the results. The exact way it is used would be implementation specific. Files might need to be generated once, on every boot, before vms are started, etc. I did not think it belonged in either libxl/xc.


Fitting in with libxl proper would require the API to look a certain way
(take a context etc), so perhaps libxlu would be more appropriate,
alongside the disk syntax parser etc?

Possibly. I looked at that back then (and today again) and it seemed to all be related to parsing things into XLU_Config objects. I guess I did not have a good feel for what libxlu was supposed to be. If it is supposed to be a generic library of auxiliary toolstack functionality then I think it would be a good place.

Thanks
Ross


Ian.


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3658/6991 - Release Date: 01/10/14



_______________________________________________
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®.