diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-10-12 15:12:14 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-22 13:29:08 +0100 |
commit | 5d0d246792ec017df7e2363c2cd58185545ea1fe (patch) | |
tree | 7419ee47cc807f8c0e1e129afbc1096b499658a8 /hw/scsi-bus.c | |
parent | 3d5aba97e9b3e92e8788e250de85080d15c7e8f9 (diff) | |
download | qemu-5d0d246792ec017df7e2363c2cd58185545ea1fe.tar.gz qemu-5d0d246792ec017df7e2363c2cd58185545ea1fe.tar.bz2 qemu-5d0d246792ec017df7e2363c2cd58185545ea1fe.zip |
scsi-disk: enable scatter/gather functionality
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-bus.c')
-rw-r--r-- | hw/scsi-bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c index 0c471e0ec5..dce620890f 100644 --- a/hw/scsi-bus.c +++ b/hw/scsi-bus.c @@ -87,6 +87,7 @@ static void scsi_dma_restart_bh(void *opaque) scsi_req_continue(req); break; case SCSI_XFER_NONE: + assert(!req->sg); scsi_req_dequeue(req); scsi_req_enqueue(req); break; |