aboutsummaryrefslogtreecommitdiff
path: root/io/task.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-09-13 21:44:10 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2023-10-03 18:25:00 +0300
commit8da0da879929e5b7593e8f841d8accd54b5ad511 (patch)
tree1445ca609f0e282d2bd9e8a69deb08363391af43 /io/task.c
parentfa2f090d6225b1266fa1a44f27e3048f530ef06e (diff)
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> (cherry picked from commit be2b619a17345d007bcf9987a3e4afd1edea3e4f) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'io/task.c')
0 files changed, 0 insertions, 0 deletions