summaryrefslogtreecommitdiff
path: root/hw/pci_host.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-03 15:28:05 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-05-07 08:44:20 +0200
commitf62d0594604399e89ca8ece730a2a79110de5d77 (patch)
treee103c514832ce218de24b377584251ab6aa2d3cf /hw/pci_host.c
parentda8365dbab51c445832137aa637bb5b990174b24 (diff)
downloadqemu-f62d0594604399e89ca8ece730a2a79110de5d77.tar.gz
scsi: do not report bogus overruns for commands in the 0x00-0x1F range
Interpreting cdb[4] == 0 as a request to transfer 256 blocks is only needed for READ_6 and WRITE_6. No other command in that range needs that special-casing, and the resulting overrun breaks scsi-testsuite's attempt to use command 2 as a known-invalid command. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci_host.c')
0 files changed, 0 insertions, 0 deletions