]> Git Repo - qemu.git/commit
usb: make attach optional.
authorGerd Hoffmann <[email protected]>
Mon, 26 Oct 2009 14:56:48 +0000 (15:56 +0100)
committerAnthony Liguori <[email protected]>
Fri, 30 Oct 2009 13:39:31 +0000 (08:39 -0500)
commit61e094c049c1f58291e596910d300c7842cfd998
tree309a8af6bcd9f0a704f51838dbb519c032aad824
parent2b0efdc3e116753e349bc3d1888a8520f57e8315
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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/usb-bus.c
hw/usb.h
This page took 0.022441 seconds and 4 git commands to generate.