[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] Release usb devices on shutdown and usb_del
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v2] Release usb devices on shutdown and usb_del command |
Date: |
Fri, 21 May 2010 21:40:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
"David S. Ahern" <address@hidden> writes:
>> 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.
... just for dealing with the -usbdevice command line and monitor
command usb_add (both legacy).
Check out docs/qdev-device-use.txt for the current way to add devices.
The monitor equivalent to -device is device_add.