usb-storage: cancel I/O on reset
commitf63d074313c5df917535587b50802ece7beb6e45
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Jan 2012 17:13:54 +0000 (4 18:13 +0100)
committerJustin M. Forbes <jforbes@redhat.com>
Tue, 10 Jan 2012 15:45:28 +0000 (10 09:45 -0600)
tree23e6ffcd54c4ae188f99b6db1dd34d3bd6ef7cc8
parent9b81fbdbb0cc930aacec343c6ab37adfd60c9e76
usb-storage: cancel I/O on reset

When resetting the usb-storage device we'll have to carefully cancel
and clear any requests which might be in flight, otherwise we'll confuse
the state machine.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-msd.c