|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [linux-usb-devel] Error recovery in Xen's paravirtualizi
On Fri, 9 Dec 2005, Harry Butterworth wrote:
> While you are discussing this stuff, you might like to consider the
> problem of stealing a device from a back-end driver that has already
> claimed it. I don't know if this is currently possible. With my
> testing so far I have had to disable the back-end drivers for the
> devices that I wanted to export to stop them from getting the devices
> before me.
It is already possible. Something like this:
echo -n 1-2:1.0 >/sys/bus/usb/drivers/[driver]/unbind
Or it can be done using usbfs. And if you want to do it from within the
kernel, call device_release_driver(dev).
Alan Stern
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|