Skip to content

tests/qtest: pci and msix fixes

Nicholas Piggin qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 9 repliesIn review
  2. v47 patches 2 repliesSuperseded
  3. v34 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches1 replySuperseded
v15 patches8 repliesSuperseded

Changes in v5 from the cover letter

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11tests/qtest: Enforce zero for the "un-fired" msix message valuetests/qtest/libqos/virtio-pci-modern.c tests/qtest/libqos/virtio-pci.c+17 -120 replies
2/11tests/qtest: Fix virtio msix message endiannesstests/qtest/libqos/virtio-pci-modern.c tests/qtest/libqos/virtio-pci.c+7 -32 replies
3/11tests/qtest: Add libqos function for testing msix interrupt statustests/qtest/libqos/pci.c tests/qtest/libqos/pci.h tests/qtest/libqos/virtio-pci-modern.c +1 more+62 -592 replies
4/11tests/qtest: Enable spapr dma with linear iommu maphw/ppc/spapr_iommu.c tests/qtest/e1000e-test.c tests/qtest/igb-test.c +7 more+13 -861 reply
5/11tests/qtest/ahci: unmap pci bar before reusing devicetests/qtest/ahci-test.c tests/qtest/libqos/ahci.c tests/qtest/libqos/ahci.h+17 -01 reply
6/11tests/qtest/ahci: don't unmap pci bar if it wasn't mappedtests/qtest/ahci-test.c tests/qtest/libqos/ahci.c tests/qtest/libqos/ahci.h+16 -13 replies
7/11tests/qtest/libquos/virtio: unmap pci bar when disabling devicetests/qtest/libqos/virtio-pci.c tests/qtest/libqos/virtio-pci.h+11 -10 replies
8/11tests/qtest/libquos/pci: Add migration fixup helper for pci devicestests/qtest/ahci-test.c tests/qtest/libqos/pci.c tests/qtest/libqos/pci.h+6 -00 replies
9/11qtest/libqos/pci: Enforce balanced iomap/unmaptests/qtest/libqos/pci.c tests/qtest/libqos/pci.h+55 -50 replies
10/11qtest/libqos/pci: Fix qpci_msix_enable sharing bar0tests/qtest/libqos/pci.c tests/qtest/libqos/pci.h+35 -60 replies
11/11qtest/libqos/pci: Factor msix entry helpers into pci common codetests/qtest/libqos/pci.c tests/qtest/libqos/pci.h tests/qtest/libqos/virtio-pci.c+61 -430 replies

Reviews trailers per patch

10 of 11 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéFabiano RosasAkihiko Odaki
1/11R-b R-b
2/11R-b R-b
3/11R-b
4/11R-b
5/11R-b R-b
6/11
7/11R-b R-b
8/11R-b
9/11R-b R-b
10/11R-b R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/11] tests/qtest: pci and msix fixes

Since v4:
https://lore.kernel.org/qemu-devel/[email protected]/

I merged in the "spapr" series that touches similar code:

https://lore.kernel.org/qemu-devel/[email protected]/

- Simplified the ahci shutdown logic to keep one unified shutdown function.

Thanks,
Nick

Nicholas Piggin (11):
tests/qtest: Enforce zero for the "un-fired" msix message value tests/qtest: Fix virtio msix message endianness tests/qtest: Add libqos function for testing msix interrupt status tests/qtest: Enable spapr dma with linear iommu map tests/qtest/ahci: unmap pci bar before reusing device tests/qtest/ahci: don't unmap pci bar if it wasn't mapped tests/qtest/libquos/virtio: unmap pci bar when disabling device tests/qtest/libquos/pci: Add migration fixup helper for pci devices qtest/libqos/pci: Enforce balanced iomap/unmap qtest/libqos/pci: Fix qpci_msix_enable sharing bar0 qtest/libqos/pci: Factor msix entry helpers into pci common code

 tests/qtest/libqos/ahci.h              |   3 +
 tests/qtest/libqos/pci.h               |  20 ++-
 tests/qtest/libqos/virtio-pci.h        |   1 +
 hw/ppc/spapr_iommu.c                   |  10 +-
 tests/qtest/ahci-test.c                |  10 ++
 tests/qtest/e1000e-test.c              |  21 ---
 tests/qtest/igb-test.c                 |  21 ---
 tests/qtest/libqos/ahci.c              |  20 +++
 tests/qtest/libqos/generic-pcihost.c   |   1 -
 tests/qtest/libqos/pci-pc.c            |   3 -
 tests/qtest/libqos/pci-spapr.c         |   7 +-
 tests/qtest/libqos/pci.c               | 210 ++++++++++++++++++++++---
 tests/qtest/libqos/virtio-pci-modern.c |  30 +---
 tests/qtest/libqos/virtio-pci.c        |  97 +++---------
 tests/qtest/vhost-user-blk-test.c      |   6 -
 tests/qtest/virtio-blk-test.c          |  12 --
 16 files changed, 278 insertions(+), 194 deletions(-)
Signature · 1 line
2.47.1