From: Harry Butterworth Subject: Re: [linux-usb-devel] Error recovery in Xen's paravirtualizing USB driver for Linux Date: Fri, 09 Dec 2005 11:03:03 +0000 Message-ID: <1134126183.2443.6.camel@localhost.localdomain> References: <1134057590.15668.20.camel@localhost.localdomain> <20051209004421.GA28400@kroah.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051209004421.GA28400@kroah.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Greg KH Cc: xen-devel@lists.xensource.com, Alan Stern , linux-usb-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On Thu, 2005-12-08 at 16:44 -0800, Greg KH wrote: > On Thu, Dec 08, 2005 at 11:20:35AM -0500, Alan Stern wrote: > > Part of the problem is that the stub drivers on the back-end are forced to > > bind to USB interfaces instead of USB devices. It would make life simpler > > for you guys if the stub driver could bind to the entire device (replacing > > the usb_generic driver). Do you think that's worth pursuing? > > My first reaction to this is NO! The usbcore has some tricks it plays > with knowing stuff about the usb_generic driver (basically it uses it as > a flag to prevent bad things from happening in driver core callbacks.) > > But in thinking about it some more, this might be the best solution for > all virtual bus implementations like this one, and the USB over IP > stuff. OK. I think I'd like to pursue this. I want to fix my error recovery and write some documentation so I'll probably get back to it in Jan unless I get reassigned to something else. I'm not sure if I'm going to be capable of putting a patch together. It depends just how hairy it turns out to be. Any chance you could list the issues that you know would need to be solved. This would be a great help when I come to look at it. Harry.