]> git.proxmox.com Git - qemu.git/commit - hw/usb/dev-storage.c
hw/usb-msd: fix some usb requests
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Wed, 10 Mar 2010 09:45:12 +0000 (10:45 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 17 Mar 2010 16:17:05 +0000 (11:17 -0500)
commite5322f76a72352eea8eb511390c27726b64e5a87
tree893f3cd360799063f05ec03ff9ca043f1c7bf3d0
parent314b1811c15f4e982e4667d9b845aee4b5a63d91
hw/usb-msd: fix some usb requests

The usb-msd device emulation needs some small tweaks in the requests
emulations. For instance, the reset/maxlun requests are class/interface
specific so requests for them with the type class and recipient interface
bits sets have to be handled.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/usb-msd.c