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

Re: [Xen-devel] [PATCH v1 07/12] libxl: add prepare/unprepare operations to the libxl public interface



On 15/03/13 12:33, Roger Pau Monné wrote:
> The caller should take care of this states by himself (just as we do
> with add or remove), so it knows if the device has been prepared or not.

Just as a clarification, the way to know if a device has been prepared
but not added is to look for the xenstore entries. If the device only has

/libxl/<domid>/hotplug/status/<devid>/

then it has been prepared but not added, on the other hand, if the
device has the above xenstore path, and also

/local/domain/<domid>/device/vbd/<devid>/backend

then it has been prepared and added. But I can't come up with any reason
a libxl user should look at this paths by himself.

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