diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-14 15:08:12 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-14 15:08:12 +0000 |
commit | 35f1df84b6a9d4462764b833e915100f91e4f257 (patch) | |
tree | a3002d7d9c8a1b37addaea43f2c31089149ed821 /hw/scsi-disk.c | |
parent | 69fba4a51edb69fb983ca887d985c1d9a1c62e5e (diff) | |
download | qemu-35f1df84b6a9d4462764b833e915100f91e4f257.zip qemu-35f1df84b6a9d4462764b833e915100f91e4f257.tar.gz qemu-35f1df84b6a9d4462764b833e915100f91e4f257.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index a2f299e..55a2623 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: |