summaryrefslogtreecommitdiffstats
path: root/hw/sun4m_iommu.c
diff options
context:
space:
mode:
authorGerd Hoffmann2011-05-04 16:49:56 +0200
committerGerd Hoffmann2011-05-04 16:55:15 +0200
commitef0bdf77d7070494692cbccd80c4c8f08c85c240 (patch)
treed2d05d81e156614e9dcb2466ffbc6ab276cd5e08 /hw/sun4m_iommu.c
parentusb: move complete callback to port ops (diff)
downloadqemu-ef0bdf77d7070494692cbccd80c4c8f08c85c240.tar.gz
qemu-ef0bdf77d7070494692cbccd80c4c8f08c85c240.tar.xz
qemu-ef0bdf77d7070494692cbccd80c4c8f08c85c240.zip
usb: mass storage fix
Initialize scsi_len with zero when starting a new request, so any stuff leftover from the previous request is cleared out. This may happen in case the data returned by the scsi command doesn't fit into the buffer provided by the guest. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/sun4m_iommu.c')
0 files changed, 0 insertions, 0 deletions