commit | 3f2cd4dd47719497540fb0e0aa0635e127f2838f | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Wed Oct 29 13:00:07 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Oct 31 11:29:00 2014 +0100 |
tree | 8ce4d1b623a28cf30949c2770e6e22eee2546fed | |
parent | 7bd908491c4e62767fa959959f3560fb54e34c19 [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>