commit | 61e094c049c1f58291e596910d300c7842cfd998 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Mon Oct 26 15:56:48 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Oct 30 08:39:31 2009 -0500 |
tree | 309a8af6bcd9f0a704f51838dbb519c032aad824 | |
parent | 2b0efdc3e116753e349bc3d1888a8520f57e8315 [diff] |
usb: make attach optional. Add a auto_attach field to USBDevice, which is enabled by default. USB drivers can clear this field in case they do *not* want the device being attached (i.e. plugged into a usb port) automatically after successfull init(). Use cases (see next patches): * attaching encrypted mass storage devices. * -usbdevice host:... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>