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

Re: [Xen-devel] [Minios-devel] [PATCH v4 0/<VARIOUS>] Begin to disentangle libxenctrl and provide some stable libraries



On Fri, 2015-11-20 at 13:49 +0000, Stefano Stabellini wrote:
>Â
> > If we were to just say "xc_domain_add_to_physmap and
> > xc_domain_pin_memory_cacheattr are now stable" then having them in a
> > libxendevicemodel would be incorrect, since they are not in any way
> > specific to device models.
> > 
> > 
> > > ÂÂKeep
> > > in mind that we already have stable wrappers in QEMU in
> > > include/hw/xen/xen_common.h. I don't think we need two layers of
> > > wrappers :-)
> > 
> > Indeed, but part of the purpose of Xen providing stable libraries is
> > that
> > external components/users should not need wrappers.
> > 
> > IOW IMHO the current wrappers in QEMU should, as part of this exercise
> > in
> > providing stable interfaces, be deprecated and remain only to retain
> > compatibility with older versions of Xen which lacked the stable
> > interfaces, with a view to them eventually being removed as support for
> > those older Xen's is removed from QEMU.
> 
> I agree that it would be nicer to have the wrapper in Xen, but
> realistically we won't be able to get rid of the ones in QEMU anytime
> soon.

It's certainly a long term thing, but in the meantime it does mean that the
QEMU wrappers should never need to be touched again until their removal.

Ian.

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