Skip to content
Commit 166dbda7 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

scsi-disk: fix VERIFY for scsi-block



When a scsi-disk object receives VERIFY command with BYTCHK bit being zero,
scsi_block_is_passthrough returns false and finally makes req being proceeded
by scsi_block_dma_command. Because scsi_block_dma_command has removed process
of VERIFY, QEMU will abort in this function.

Reported-by: default avatarJunlian Bell <zhongjun@sangfor.com.cn>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 8929fc3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment