]> Git Repo - qemu.git/commit - hw/scsi/megasas.c
megasas: fixup device mapping
authorHannes Reinecke <[email protected]>
Wed, 29 Oct 2014 12:00:07 +0000 (13:00 +0100)
committerPaolo Bonzini <[email protected]>
Fri, 31 Oct 2014 10:29:00 +0000 (11:29 +0100)
commit3f2cd4dd47719497540fb0e0aa0635e127f2838f
tree8ce4d1b623a28cf30949c2770e6e22eee2546fed
parent7bd908491c4e62767fa959959f3560fb54e34c19
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi/megasas.c
hw/scsi/mfi.h
This page took 0.025299 seconds and 4 git commands to generate.