From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54308 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFXDc-0003CE-ER for qemu-devel@nongnu.org; Fri, 21 May 2010 14:45:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFXDb-000050-0a for qemu-devel@nongnu.org; Fri, 21 May 2010 14:45:12 -0400 Received: from sj-iport-4.cisco.com ([171.68.10.86]:63623) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFXDa-0008WM-Rs for qemu-devel@nongnu.org; Fri, 21 May 2010 14:45:10 -0400 Message-ID: <4BF6D4B3.3050606@cisco.com> Date: Fri, 21 May 2010 12:45:07 -0600 From: "David S. Ahern" MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v2] Release usb devices on shutdown and usb_del command References: m3r5l5u5kl.fsf@blackfin.pond.sub.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel > On 05/21/2010 1:33 AM, Markus Armbruster wrote: > Note: usbdevice_init() is not for general initialization, just for > dealing with the legacy -usbdevice command line. Perhaps the comment before usbdevice_create is misleading or has some conversion not completed? Right now even devices entered through the monitor go through usbdevice_create -- which is the only place the usbdevice_init() hook is invoked. David