diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-28 11:18:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-12-09 11:28:16 +0100 |
commit | d97e7730816094a71cd1f19a56d7a73f77cdbf96 (patch) | |
tree | 44e7b81221ecd9f992f372692419f940800f3a6f /block/qcow2-cluster.c | |
parent | d12ad44cc4cc9142179e64295608611f118b8ad8 (diff) |
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/qcow2-cluster.c')
0 files changed, 0 insertions, 0 deletions