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

Re: [Xen-devel] [PATCH V4 22/24] xl: update domain configuration when we hotplug a device



On Wed, 2014-05-07 at 11:21 +0100, David Vrabel wrote:

> >> Is libxl lacking is a proper device abstraction layer?
> > 
> > libxl does have a device abstraction layer, but it cannot help much
> > here. Not quite sure what "proper" means.
> 
> At a minimum it looks like a libxl__device needs copy and add methods.

It already has both, and this macro is using them. The real need for the
macro here is C's lack of polymorphism (and/or libxl's failure to
implement such a thing on top of C).

Some of this might be alleviated by pushing the saving and updating of
the stored config down into libxl as I suggested in anther reply this
morning.



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