aboutsummaryrefslogtreecommitdiff
path: root/blockjob.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-09-13 21:44:10 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-03 10:29:39 +0200
commitbe2b619a17345d007bcf9987a3e4afd1edea3e4f (patch)
tree5725853d12736ec47de2f60adc3af3d63c0d808a /blockjob.c
parent77668e4b9bca03a856c27ba899a2513ddf52bb52 (diff)
downloadqemu-be2b619a17345d007bcf9987a3e4afd1edea3e4f.zip
qemu-be2b619a17345d007bcf9987a3e4afd1edea3e4f.tar.gz
qemu-be2b619a17345d007bcf9987a3e4afd1edea3e4f.tar.bz2
scsi-disk: ensure that FORMAT UNIT commands are terminated
Otherwise when a FORMAT UNIT command is issued, the SCSI layer can become confused because it can find itself in the situation where it thinks there is still data to be transferred which can cause the next emulated SCSI command to fail. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Fixes: 6ab71761 ("scsi-disk: add FORMAT UNIT command") Tested-by: Thomas Huth <thuth@redhat.com> Message-ID: <20230913204410.65650-4-mark.cave-ayland@ilande.co.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions