summaryrefslogtreecommitdiff
path: root/hw/scsi/mfi.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-10-29 13:00:07 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-31 11:29:00 +0100
commit3f2cd4dd47719497540fb0e0aa0635e127f2838f (patch)
tree8ce4d1b623a28cf30949c2770e6e22eee2546fed /hw/scsi/mfi.h
parent7bd908491c4e62767fa959959f3560fb54e34c19 (diff)
megasas: fixup device mapping
Logical drives can only be addressed with the 'target_id' number; LUN numbers cannot be selected. Physical drives can be selected with both, target and LUN id. So we should disallow LUN numbers not equal to 0 when in RAID mode. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/mfi.h')
-rw-r--r--hw/scsi/mfi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/mfi.h b/hw/scsi/mfi.h
index 5050ce4732..455c96b782 100644
--- a/hw/scsi/mfi.h
+++ b/hw/scsi/mfi.h
@@ -1094,7 +1094,7 @@ struct mfi_pd_list {
union mfi_ld_ref {
struct {
uint8_t target_id;
- uint8_t lun_id;
+ uint8_t reserved;
uint16_t seq;
} v;
uint32_t ref;