[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/2] libxl: Introduce functions to add and remove host USB devices to an HVM guest
On 20/03/13 16:52, Ian Jackson wrote: George Dunlap writes ("[PATCH v2 1/2] libxl: Introduce functions to add and remove host USB devices to an HVM guest"):Devices must be removed by "id", an identifying string, which must be specified when the device is created. The caller can either pass one in to request; if none is passed in, then libxl will choose one and pass it back to the caller. In the second case, it will return a string containing the id used in the "id" field of the device struct.IMO we shouldn't expose these ids like this. Rather, we should do what we do with block, network, etc. and have functions for listing and removing devices by their virtual names ("device tree path" or whatever as the guest sees it). If QMP is deficient then this may mean keeping a separate list somewhere. Right -- I was hoping to have such an implementation as a "nice-to-have", which I would try to get in as a best-effort, rather than a requirement. -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |