]> Git Repo - qemu.git/commit
scsi-disk: fix VERIFY for scsi-block
authorPaolo Bonzini <[email protected]>
Fri, 16 Dec 2016 10:10:28 +0000 (11:10 +0100)
committerPaolo Bonzini <[email protected]>
Thu, 22 Dec 2016 15:00:26 +0000 (16:00 +0100)
commit166dbda7e131f7b6540f56c3234bb2f8b23d84c0
tree81faf3ab2ee241aa09e14e1d9b7e0ed418215cd0
parent8929fc3a55f33a103adddf9cfd010bcf2b255c7d
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: Junlian Bell <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi/scsi-disk.c
This page took 0.024568 seconds and 4 git commands to generate.