]> git.proxmox.com Git - mirror_qemu.git/commit - tests/virtio-scsi-test.c
scsi: support NDOB (no data-out buffer) for WRITE SAME commands
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Mar 2018 15:17:59 +0000 (16:17 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Mar 2018 15:12:46 +0000 (16:12 +0100)
commit4397a018473ae589be959ba93cb491cbd77fe789
tree237ee0f3aa16d0805f9f3544d1652dcf9ef7e72f
parent05b6cc4ae2efbafad9b45a93bccfcae51d018043
scsi: support NDOB (no data-out buffer) for WRITE SAME commands

A NDOB bit set to one specifies that the disk shall not transfer data
from the data-out buffer and shall process the command as if the data-out
buffer contained user data set to all zeroes.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
tests/virtio-scsi-test.c