scsi: push lun field to SCSIDevice
commit87dcd1b2c27e88a47be5036e9cf4c2767054eb31
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Aug 2011 08:49:12 +0000 (3 10:49 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 12 Aug 2011 13:29:01 +0000 (12 08:29 -0500)
treee0d478e3e96e3851442d3e1ebd3cd34f7ed6bb21
parent2599aece1b222ad4f9714275b38bf1d3e9424b54
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>
hw/scsi-bus.c
hw/scsi-generic.c
hw/scsi.h