aboutsummaryrefslogtreecommitdiff
path: root/tests/virtio-scsi-test.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-07-30 14:16:12 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-30 15:44:04 +0200
commitc85a7a0057ca454607a40cde991d495e0deec34d (patch)
tree5db3f00072feaf3f0807e1ab2827cf9f5cfc64af /tests/virtio-scsi-test.c
parent1cc933453bf2baae1feb7c8e757bdfd0ef639002 (diff)
scsi-disk: fix cmd.mode field typo
The cmd.xfer field is the data length. The cmd.mode field is the data transfer direction. scsi_handle_rw_error() was using the wrong error policy for read requests. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <1438262173-11546-3-git-send-email-stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/virtio-scsi-test.c')
0 files changed, 0 insertions, 0 deletions