aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/scsi-disk.c')
-rw-r--r--hw/scsi-disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index a2f299e951..55a26239d8 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -447,6 +447,7 @@ int32_t scsi_send_command(SCSIDevice *s, uint32_t tag, uint8_t *buf, int lun)
s->buf_len = 8;
} else {
scsi_command_complete(s, SENSE_NOT_READY);
+ return 0;
}
break;
case 0x08: