From: Ian Jackson Subject: Re: [PATCH 1/2] libxl: Introduce functions to add and remove host USB devices to an HVM guest Date: Wed, 20 Mar 2013 16:51:06 +0000 Message-ID: <20809.59642.485413.982252@mariner.uk.xensource.com> References: <1363694970-17267-1-git-send-email-george.dunlap@eu.citrix.com> <514864C2.8060603@citrix.com> <51487078.5000608@eu.citrix.com> <5148A6A6.20400@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: "xen-devel@lists.xen.org" , Ian Campbell , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("Re: [Xen-devel] [PATCH 1/2] libxl: Introduce functions to add and remove host USB devices to an HVM guest"): > There are three sets of interfaces we need to consider: For disks and networks we offer the same device via both interfaces, where available. I guess we can't do that for USB ? If it is actually necessary for the caller to specify, they should specify the the protocol by which the device is exposed to the guest, not the implementation. Perhaps we could make the protocol an optional parameter somehow, so that if the user just wants "make such-and-such device available", they can ask for that and the tools will DTRT ? Many of your comments relate to differences in the protocols between libxl and qemu or backends. Syntactic differences should IMO be hidden by libxl. There is generally no good reason for semantic differences, I think ? Ian.