Re: [Qemu-devel] [PATCH 1/3] megasas: add MegaRAID SAS 2108 emulation

2014-04-29 Thread Hannes Reinecke
On 04/28/2014 05:20 PM, Andreas Färber wrote: Am 28.04.2014 15:01, schrieb Hannes Reinecke: The 2108 chip supports MSI and MSI-X, so update the emulation to support both chips. Signed-off-by: Hannes Reinecke h...@suse.de --- hw/scsi/megasas.c| 138

[Qemu-devel] [PATCH 1/3] megasas: add MegaRAID SAS 2108 emulation

2014-04-28 Thread Hannes Reinecke
The 2108 chip supports MSI and MSI-X, so update the emulation to support both chips. Signed-off-by: Hannes Reinecke h...@suse.de --- hw/scsi/megasas.c| 138 ++- hw/scsi/mfi.h| 7 +++ include/hw/pci/pci_ids.h | 1 + 3 files

Re: [Qemu-devel] [PATCH 1/3] megasas: add MegaRAID SAS 2108 emulation

2014-04-28 Thread Paolo Bonzini
Il 28/04/2014 15:01, Hannes Reinecke ha scritto: The 2108 chip supports MSI and MSI-X, so update the emulation to support both chips. Should the 2108 PCIDeviceClass set the is_express member to true? Otherwise you get no QEMU_PCI_CAP_EXPRESS capability. Paolo Signed-off-by: Hannes

Re: [Qemu-devel] [PATCH 1/3] megasas: add MegaRAID SAS 2108 emulation

2014-04-28 Thread Hannes Reinecke
On 04/28/2014 04:44 PM, Paolo Bonzini wrote: Il 28/04/2014 15:01, Hannes Reinecke ha scritto: The 2108 chip supports MSI and MSI-X, so update the emulation to support both chips. Should the 2108 PCIDeviceClass set the is_express member to true? Otherwise you get no QEMU_PCI_CAP_EXPRESS

Re: [Qemu-devel] [PATCH 1/3] megasas: add MegaRAID SAS 2108 emulation

2014-04-28 Thread Paolo Bonzini
Il 28/04/2014 16:48, Hannes Reinecke ha scritto: On 04/28/2014 04:44 PM, Paolo Bonzini wrote: Il 28/04/2014 15:01, Hannes Reinecke ha scritto: The 2108 chip supports MSI and MSI-X, so update the emulation to support both chips. Should the 2108 PCIDeviceClass set the is_express member to

Re: [Qemu-devel] [PATCH 1/3] megasas: add MegaRAID SAS 2108 emulation

2014-04-28 Thread Andreas Färber
Am 28.04.2014 15:01, schrieb Hannes Reinecke: The 2108 chip supports MSI and MSI-X, so update the emulation to support both chips. Signed-off-by: Hannes Reinecke h...@suse.de --- hw/scsi/megasas.c| 138 ++- hw/scsi/mfi.h|