scsi empty drive fix (Blue Swirl).
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 14 Aug 2006 15:08:12 +0000 (15:08 +0000)
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 14 Aug 2006 15:08:12 +0000 (15:08 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2109 c046a42c-6fe2-441c-8c8c-71466251a162

hw/scsi-disk.c

index a2f299e..55a2623 100644 (file)
@@ -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: