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

Re: [Xen-devel] [PATCH v1 06/12] libxl: add support for different hotplug interfaces



On 15/03/13 12:24, Ian Jackson wrote:
> Roger Pau Monne writes ("Re: [Xen-devel] [PATCH v1 06/12] libxl: add support 
> for different hotplug interfaces"):
>> Right, I've added a new xenstore path that has the following nomenclature:
>>
>> /libxl/<domid>/hotplug/status/<devid>
> 
> That sounds plausible.  What's the value ?

There's only one value:

/libxl/<domid>/hotplug/status/<devid>/backend_domid = <backend_dom>

That's all we need to be able to fill a libxl__device structure. I'm
also thinking that it might be prudent to use

/libxl/<domid>/hotplug/status/vbd/<devid>/backend_domid = <backend_dom>

Right now vbds are the only users of the new hotplug interface, but who
knows if we might want to use it for nics in the future too.

> 
>> This path is created after the device has been prepared, and is cleaned
>> after the device has been unprepared. It only contains the necessary
>> information to be able to fill a libxl__device struct.
> 
> I think it needs to be created before you start preparation, so that
> preparation attempts which crash halfway through are recorded.

Yes, I was also thinking about it after sending the reply...


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