"David S. Ahern" <daah...@cisco.com> 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.