diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2011-08-03 10:49:12 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-12 08:29:01 -0500 |
| commit | 87dcd1b2c27e88a47be5036e9cf4c2767054eb31 (patch) | |
| tree | e0d478e3e96e3851442d3e1ebd3cd34f7ed6bb21 /hw/scsi.h | |
| parent | 2599aece1b222ad4f9714275b38bf1d3e9424b54 (diff) | |
| download | focaccia-qemu-87dcd1b2c27e88a47be5036e9cf4c2767054eb31.tar.gz focaccia-qemu-87dcd1b2c27e88a47be5036e9cf4c2767054eb31.zip | |
scsi: push lun field to SCSIDevice
This will let SCSIBus detect requests sent to an invalid LUN, and handle them itself. However, there will be still support for only one LUN per target Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi.h')
| -rw-r--r-- | hw/scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi.h b/hw/scsi.h index f29d65fd56..5a1bbe20cf 100644 --- a/hw/scsi.h +++ b/hw/scsi.h @@ -65,6 +65,7 @@ struct SCSIDevice uint8_t sense[SCSI_SENSE_BUF_SIZE]; uint32_t sense_len; QTAILQ_HEAD(, SCSIRequest) requests; + uint32_t lun; int blocksize; int type; }; |