Received: from eggs.gnu.org ([2001:4830:134:3::10]:38706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjRvO-0000de-ON for qemu-devel@nongnu.org; Wed, 29 Oct 2014 08:00:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjRvH-0007nb-8o for qemu-devel@nongnu.org; Wed, 29 Oct 2014 08:00:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34252 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjRvH-0007n5-2f for qemu-devel@nongnu.org; Wed, 29 Oct 2014 08:00:19 -0400 From: Hannes Reinecke Date: Wed, 29 Oct 2014 13:00:03 +0100 Message-Id: <1414584016-25888-1-git-send-email-hare@suse.de> Subject: [Qemu-devel] [PATCHv2 00/13] 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: Paolo Bonzini , Hannes Reinecke , Andreas Faerber , Nic Bellinger , 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. 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