[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [usb] call destroy for usb devices upon removal from gu
Re: [Qemu-devel] [usb] call destroy for usb devices upon removal from guest
Tue, 18 Jul 2006 23:46:28 +0200
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
Lonnie Mendez wrote:
lo list. I have found the old diff to be incorrect on many levels. New
diff has additionally cleanup code for the linux redirector. Please see
the attached patch for solution.
Forget my last comment - I understand the problem now. I think it was a
bad idea to use 'usb_reset' to destroy the usb device. Ideally a
specific method should be added because it has no relation with the USB
protocol (it is used to clear resources and it is perfectly possible
that a given device can be inserted, removed and inserted again without
having been destroyed). Another point is that the unused message
'USB_DESTROY' should be... destroyed.