v7 changelog: 1. fix the segfaut bug in patch 2. So drop the all the R-b of it, please take a look, there is detailed description in the patch. 2. add the R-b from Hannes Reinecke
Test: 1. make check: pass 2. After applied all the patch, command line test for all the affected devices, just make sure device realize process is ok, no crash, but no further use of device. CC: Jiri Pirko <j...@resnulli.us> CC: Gerd Hoffmann <kra...@redhat.com> CC: Dmitry Fleytman <dmi...@daynix.com> CC: Jason Wang <jasow...@redhat.com> CC: Michael S. Tsirkin <m...@redhat.com> CC: Hannes Reinecke <h...@suse.de> CC: Paolo Bonzini <pbonz...@redhat.com> CC: Alex Williamson <alex.william...@redhat.com> CC: Markus Armbruster <arm...@redhat.com> CC: Marcel Apfelbaum <mar...@redhat.com> Cao jin (10): msix: Follow CODING_STYLE hcd-xhci: check & correct param before using it pci: Convert msix_init() to Error and fix callers to check it megasas: change behaviour of msix switch hcd-xhci: change behaviour of msix switch megasas: remove unnecessary megasas_use_msix() megasas: undo the overwrites of msi user configuration vmxnet3: fix reference leak issue vmxnet3: remove unnecessary internal msix flag msi_init: convert assert to return -errno hw/block/nvme.c | 5 +++- hw/misc/ivshmem.c | 8 +++--- hw/net/e1000e.c | 6 ++++- hw/net/rocker/rocker.c | 7 ++++- hw/net/vmxnet3.c | 46 +++++++++++++++------------------ hw/pci/msi.c | 9 ++++--- hw/pci/msix.c | 42 +++++++++++++++++++++++++----- hw/scsi/megasas.c | 49 ++++++++++++++++++++--------------- hw/usb/hcd-xhci.c | 69 ++++++++++++++++++++++++++++++-------------------- hw/vfio/pci.c | 8 ++++-- hw/virtio/virtio-pci.c | 11 ++++---- include/hw/pci/msix.h | 5 ++-- 12 files changed, 164 insertions(+), 101 deletions(-) -- 2.1.0