summaryrefslogtreecommitdiff
path: root/block/iscsi.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-11-28 11:18:56 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-12-09 11:28:16 +0100
commitd97e7730816094a71cd1f19a56d7a73f77cdbf96 (patch)
tree44e7b81221ecd9f992f372692419f940800f3a6f /block/iscsi.c
parentd12ad44cc4cc9142179e64295608611f118b8ad8 (diff)
downloadqemu-d97e7730816094a71cd1f19a56d7a73f77cdbf96.tar.gz
scsi-disk: fix VERIFY emulation
VERIFY emulation was completely botched (and remained botched through all the refactorings). The command must be emulated both in check-medium mode (BYTCHK=00, which we implement by doing nothing) and in check-bytes mode (which we do not implement yet). Unlike WRITE AND VERIFY (which we treat simply as WRITE with FUA bit set), VERIFY cannot be handled like READ. In fact the device is _receiving_ data for VERIFY, not _sending_ it like READ. Cc: qemu-stable@nongnu.org Tested-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/iscsi.c')
0 files changed, 0 insertions, 0 deletions