summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-01-05 15:49:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-01-06 12:36:14 +0100
commitc75fead66e25b35b867b661ee92087dc245a48c9 (patch)
tree22b590cf2c5d3ad3ce583c00ee45a338ac9a4af0 /hw
parent24a5bbe1c8cd6f5e90100b42eac29f41c33939de (diff)
downloadqemu-c75fead66e25b35b867b661ee92087dc245a48c9.zip
usb-host: properly release port on unplug & exit
Factor out port release into a separate function. Call release function in exit notifier too. Add explicit call the USBDEVFS_RELEASE_PORT ioctl, just closing the hub file handle seems not to be enougth. Make sure we release the port before resetting the device, otherwise host drivers will not re-attach. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions