diff options
Diffstat (limited to 'hw/scsi-generic.c')
-rw-r--r-- | hw/scsi-generic.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/scsi-generic.c b/hw/scsi-generic.c index 3b43f1c7e2..70265d06b9 100644 --- a/hw/scsi-generic.c +++ b/hw/scsi-generic.c @@ -287,13 +287,6 @@ static int32_t scsi_send_command(SCSIRequest *req, uint8_t *cmd) SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); int ret; - if (cmd[0] != REQUEST_SENSE && req->lun != s->qdev.lun) { - DPRINTF("Unimplemented LUN %d\n", req->lun); - scsi_req_build_sense(&r->req, SENSE_CODE(LUN_NOT_SUPPORTED)); - scsi_req_complete(&r->req, CHECK_CONDITION); - return 0; - } - scsi_req_fixup(&r->req); DPRINTF("Command: lun=%d tag=0x%x len %zd data=0x%02x", lun, tag, |