From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjO50-0000Pn-23 for qemu-devel@nongnu.org; Wed, 29 Oct 2014 03:54:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjO4p-0008Uo-JR for qemu-devel@nongnu.org; Wed, 29 Oct 2014 03:54:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:56448 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjO4p-0008UK-Cg for qemu-devel@nongnu.org; Wed, 29 Oct 2014 03:53:55 -0400 From: Hannes Reinecke Date: Wed, 29 Oct 2014 08:53:35 +0100 Message-Id: <1414569232-21357-1-git-send-email-hare@suse.de> Subject: [Qemu-devel] [PATCH 00/17] megasas: gen2 emulation and MSI-X fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Hannes Reinecke , Paolo Bonzini , Nic Bellinger , Andreas Faerber , Alexander Graf 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