Compared to previous submissions, more than one target on the same device works across all OSes. I tested Windows 2008, 2012 and 2012r2, as well as RHEL 4-5-6.
Note that for RHEL5 and RHEL6 you need to set up a WWN for the disks. RHEL4 and Windows do not care. More info in patch commit logs. Paolo Paolo Bonzini (3): scsi: push WWN fields up to SCSIDevice scsi-generic: grab device and port SAS addresses from backend scsi: Add support for LSI SAS1068 (mptsas) device default-configs/pci.mak | 1 + hw/scsi/Makefile.objs | 1 + hw/scsi/mpi.h | 1153 ++++++++++++++++++++++++++++++++++++ hw/scsi/mptconfig.c | 903 +++++++++++++++++++++++++++++ hw/scsi/mptendian.c | 203 +++++++ hw/scsi/mptsas.c | 1443 ++++++++++++++++++++++++++++++++++++++++++++++ hw/scsi/mptsas.h | 100 ++++ hw/scsi/scsi-disk.c | 23 +- hw/scsi/scsi-generic.c | 92 +++ include/hw/pci/pci_ids.h | 1 + include/hw/scsi/scsi.h | 3 + trace-events | 22 + 12 files changed, 3933 insertions(+), 12 deletions(-) create mode 100644 hw/scsi/mpi.h create mode 100644 hw/scsi/mptconfig.c create mode 100644 hw/scsi/mptendian.c create mode 100644 hw/scsi/mptsas.c create mode 100644 hw/scsi/mptsas.h -- 1.8.3.1