qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v10 0/8] the reset of msix_init series
@ 2017-02-25  8:26 Cao jin
  2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 1/8] msix: Rename and create a wrapper Cao jin
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Cao jin @ 2017-02-25  8:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jason Wang, Gerd Hoffmann, Dmitry Fleytman, Michael S. Tsirkin,
	Hannes Reinecke, Paolo Bonzini, Alex Williamson,
	Markus Armbruster, Marcel Apfelbaum

v10 changelog:
1. drop the unliked patch, introduce a new patch 1 according to mst's comments.
2. base on the new patch, remove the following statements

        /* Any error other than -ENOTSUP(board's MSI support is broken)
         * is a programming error */
        assert(!ret || ret == -ENOTSUP);

   for the affected device: megasas, hcd-xhci. This is trivial changes,
   so I left the R-bs where it was.

Test:
1. Detailed test via command line as v9
2. make check hangs at: GTESTER check-qtest-x86_64. After ctrl-C, it says:

    make: *** [check-qtest-x86_64] Interrupt
    qemu-system-x86_64: Failed to read msg header. Read -1 instead of 12. Original request 11.
    qemu-system-x86_64: vhost VQ 0 ring restore failed: -1: Input/output error (5)
    qemu-system-x86_64: Failed to set msg fds.
    qemu-system-x86_64: vhost VQ 0 ring restore failed: -1: Invalid argument (22)

    qemu-system-x86_64: Failed to set msg fds.
    qemu-system-x86_64: vhost VQ 1 ring restore failed: -1: Invalid argument (22)

   Is it a regresstion or I missed something?

CC: Jason Wang <jasowang@redhat.com>
CC: Gerd Hoffmann <kraxel@redhat.com>
CC: Dmitry Fleytman <dmitry@daynix.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 (8):
  msix: Rename and create a wrapper
  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/net/vmxnet3.c      | 40 +++++++++++++++-------------------------
 hw/pci/msi.c          |  9 ++++++---
 hw/pci/msix.c         | 30 +++++++++++++++++++++---------
 hw/scsi/megasas.c     | 48 +++++++++++++++++++++++++-----------------------
 hw/usb/hcd-xhci.c     | 29 +++++++++++++++++++++--------
 hw/vfio/pci.c         | 12 ++++++------
 include/hw/pci/msix.h |  5 +++++
 7 files changed, 99 insertions(+), 74 deletions(-)

-- 
2.1.0

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

end of thread, other threads:[~2017-04-28  7:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-25  8:26 [Qemu-devel] [PATCH v10 0/8] the reset of msix_init series Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 1/8] msix: Rename and create a wrapper Cao jin
2017-03-07  7:44   ` Markus Armbruster
2017-03-07  8:08     ` Cao jin
2017-03-07  8:27   ` [Qemu-devel] [PATCH v10] msix: rename " Cao jin
2017-03-07  8:33     ` Markus Armbruster
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 2/8] megasas: change behaviour of msix switch Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 3/8] hcd-xhci: " Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 4/8] megasas: undo the overwrites of msi user configuration Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 5/8] vmxnet3: fix reference leak issue Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 6/8] vmxnet3: remove unnecessary internal msix flag Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 7/8] msi_init: convert assert to return -errno Cao jin
2017-02-25  8:26 ` [Qemu-devel] [PATCH v10 8/8] megasas: remove unnecessary megasas_use_msix() Cao jin
2017-03-06  8:10 ` [Qemu-devel] [PATCH v10 0/8] the reset of msix_init series Cao jin
2017-03-06 15:10   ` Michael S. Tsirkin
2017-04-28  7:45   ` 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).