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. Additionally I've found some issues in the ahci and atapi code which prevented OVMF/DUET from booting.
Hannes Reinecke (17): ahci: Fix CD-ROM signature atapi: clear sense code scsi: Rename scsi_cdb_length() to scsi_xfer_length() scsi: fixup lba calculation for 6 byte CDBs scsi: Remove 'lun' argument 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/ide/ahci.h | 2 +- hw/ide/atapi.c | 4 +- hw/scsi/esp.c | 2 +- hw/scsi/lsi53c895a.c | 3 +- hw/scsi/megasas.c | 616 ++++++++++++++++++++++++++++++++++------------- hw/scsi/mfi.h | 16 +- hw/scsi/scsi-bus.c | 96 ++++---- hw/scsi/scsi-disk.c | 15 +- hw/scsi/scsi-generic.c | 4 +- hw/scsi/virtio-scsi.c | 1 - hw/scsi/vmw_pvscsi.c | 2 +- hw/usb/dev-storage.c | 2 +- hw/usb/dev-uas.c | 1 - include/hw/pci/pci_ids.h | 1 + include/hw/scsi/scsi.h | 10 +- trace-events | 54 +++-- 16 files changed, 558 insertions(+), 271 deletions(-) -- 1.8.4.5