qemu-devel
[Top][All Lists]
Advanced

[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


From: Fabrice Bellard
Subject: Re: [Qemu-devel] [usb] call destroy for usb devices upon removal from guest
Date: Tue, 18 Jul 2006 23:46:28 +0200
User-agent: 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.

Regards,

Fabrice.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]