qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v8 00/10] Convert msix_init() to error
@ 2017-01-13  7:11 Cao jin
  2017-01-13  7:11 ` [Qemu-devel] [PATCH v8 01/10] msix: Follow CODING_STYLE Cao jin
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Cao jin @ 2017-01-13  7:11 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jiri Pirko, Gerd Hoffmann, Dmitry Fleytman, Jason Wang,
	Michael S. Tsirkin, Hannes Reinecke, Paolo Bonzini,
	Alex Williamson, Markus Armbruster, Marcel Apfelbaum

Only a tiny modification in patch "megasas: remove unnecessary
megasas_use_msix()" to fix a megasas issue.

v8 changelog:
1. reorder: place the "megasas: remove unnecessary megasas_use_msix()"
   as the last one. and fix the bug in it, detailed description in it,
   also removed the R-b of it.
2. Add the Acked-by from Marcel for first 9 patches; add the R-b from Markus
   to "hcd-xhci: check & correct param before using it".

Test:
1. make check ok
2. command line test for all affected device, make sure their realization
   is ok.
3. detailed test for megasas, hcd-xhci, vmxnet3.
   megasas: install a linux distro is ok
   ./qemu-system-x86_64 --enable-kvm -m 1024
   -device megasas,id=scsi0,bus=pci.0
   -drive file=/xx/scsi-disk.img,if=none,id=drive-scsi0
   -device scsi-disk,bus=scsi0.0,channel=0,scsi-id=4,lun=0,drive=drive-scsi0,id=scsi0-4
   -cdrom /xx/Fedora-Server-DVD-x86_64-23.iso --monitor stdio

   hcd-xhci: partition the usbstick.img, mkfs, write to file, is ok
   ./qemu-system-x86_64 -M q35 -m 1024 --enable-kvm
   -drive if=none,id=usbstick,file=/xx/usbstick.img
   -device nec-usb-xhci,id=usb,p2=8,p3=8,bus=pcie.0
   -device usb-storage,bus=usb.0,drive=usbstick --monitor stdio
   /xx/FedoraWorkStatsion23-x86_64.img

   vmxnet3: ping another destination belongs to host's network is ok.
   But no migration test, because I don't have a spare machine for now.
   ./qemu-system-x86_64 -M q35 -m 1024 --enable-kvm
   -netdev tap,id=mynet0 -device vmxnet3,netdev=mynet0
   --monitor stdio /home/pino/vm/FedoraWorkStatsion23-x86_64.img

CC: Jiri Pirko <jiri@resnulli.us>
CC: Gerd Hoffmann <kraxel@redhat.com>
CC: Dmitry Fleytman <dmitry@daynix.com>
CC: Jason Wang <jasowang@redhat.com>
CC: Michael S. Tsirkin <mst@redhat.com>
CC: Hannes Reinecke <hare@suse.de>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Alex Williamson <alex.williamson@redhat.com>
CC: Markus Armbruster <armbru@redhat.com>
CC: Marcel Apfelbaum <marcel@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: 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
  megasas: remove unnecessary megasas_use_msix()

 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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-01-13  8:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-13  7:11 [Qemu-devel] [PATCH v8 00/10] Convert msix_init() to error Cao jin
2017-01-13  7:11 ` [Qemu-devel] [PATCH v8 01/10] msix: Follow CODING_STYLE Cao jin
2017-01-13  7:11 ` [Qemu-devel] [PATCH v8 02/10] hcd-xhci: check & correct param before using it Cao jin
2017-01-13  7:11 ` [Qemu-devel] [PATCH v8 03/10] pci: Convert msix_init() to Error and fix callers to check it Cao jin
2017-01-13  7:11 ` [Qemu-devel] [PATCH v8 04/10] megasas: change behaviour of msix switch Cao jin
2017-01-13  7:11 ` [Qemu-devel] [PATCH v8 05/10] hcd-xhci: " Cao jin
2017-01-13  7:12 ` [Qemu-devel] [PATCH v8 06/10] megasas: undo the overwrites of msi user configuration Cao jin
2017-01-13  7:12 ` [Qemu-devel] [PATCH v8 07/10] vmxnet3: fix reference leak issue Cao jin
2017-01-13  7:12 ` [Qemu-devel] [PATCH v8 08/10] vmxnet3: remove unnecessary internal msix flag Cao jin
2017-01-13  7:12 ` [Qemu-devel] [PATCH v8 09/10] msi_init: convert assert to return -errno Cao jin
2017-01-13  7:12 ` [Qemu-devel] [PATCH v8 10/10] megasas: remove unnecessary megasas_use_msix() Cao jin
2017-01-13  8:20   ` Hannes Reinecke
2017-01-13  8:26   ` Markus Armbruster
2017-01-13  8:22 ` [Qemu-devel] [PATCH v8 00/10] Convert msix_init() to error Markus Armbruster
2017-01-13  8:34   ` Cao jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).