aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-14 15:08:12 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-14 15:08:12 +0000
commit35f1df84b6a9d4462764b833e915100f91e4f257 (patch)
treea3002d7d9c8a1b37addaea43f2c31089149ed821 /hw/scsi-disk.c
parent69fba4a51edb69fb983ca887d985c1d9a1c62e5e (diff)
scsi empty drive fix (Blue Swirl).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2109 c046a42c-6fe2-441c-8c8c-71466251a162
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: