Commit 35f1df84b6a9d4462764b833e915100f91e4f257
1 parent
69fba4a5
scsi empty drive fix (Blue Swirl).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2109 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
hw/scsi-disk.c
@@ -447,6 +447,7 @@ int32_t scsi_send_command(SCSIDevice *s, uint32_t tag, uint8_t *buf, int lun) | @@ -447,6 +447,7 @@ int32_t scsi_send_command(SCSIDevice *s, uint32_t tag, uint8_t *buf, int lun) | ||
447 | s->buf_len = 8; | 447 | s->buf_len = 8; |
448 | } else { | 448 | } else { |
449 | scsi_command_complete(s, SENSE_NOT_READY); | 449 | scsi_command_complete(s, SENSE_NOT_READY); |
450 | + return 0; | ||
450 | } | 451 | } |
451 | break; | 452 | break; |
452 | case 0x08: | 453 | case 0x08: |