Hi all, here is an update to the megasas emulation. It adds a new emulation type (called 'megasas-gen2'), which emulates a newer (PCIe-based) version of the MegaRAID HBA. As this hardware does MSI-X I've also fixed up MSI-X support for the megasas emulation. With these patches Win7 and Linux boot happily with MSI-X.
Upon request from Paolo I've pulled the unrelated fixes which were present in the original submission. Those fixes will be send separately. Hannes Reinecke (13): scsi: Rename scsi_cdb_length() to scsi_xfer_length() megasas: fixup MFI_DCMD_LD_LIST_QUERY megasas: simplify trace event messages megasas: fixup device mapping megasas: add MegaRAID SAS 2108 emulation megasas: Fix typo in megasas_dcmd_ld_get_list() megasas: Decode register names megasas: Clear unit attention on initial reset megasas: Ignore duplicate init_firmware commands megasas: Implement DCMD_CLUSTER_RESET_LD megasas: Update queue logging megasas: Rework frame queueing algorithm megasas: Fixup MSI-X handling hw/scsi/megasas.c | 574 +++++++++++++++++++++++++++++++++++------------ hw/scsi/mfi.h | 16 +- hw/scsi/scsi-bus.c | 33 +-- hw/scsi/scsi-disk.c | 2 +- include/hw/pci/pci_ids.h | 1 + include/hw/scsi/scsi.h | 4 +- trace-events | 54 ++--- 7 files changed, 493 insertions(+), 191 deletions(-) -- 1.8.4.5