• P
    scsi: allow arbitrary LUNs · 7e0380b9
    Paolo Bonzini 提交于
    This only requires changes in two places: in SCSIBus, we need to look
    for a free LUN if somebody creates a device with a pre-existing scsi-id
    but the default LUN (-1, meaning "search for a free spot"); in vSCSI,
    we need to actually parse the LUN according to the SCSI spec.
    
    For vSCSI, max_target/max_lun are set according to the logical unit
    addressing format in SAM.
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    7e0380b9
spapr_vscsi.c 28.1 KB