Skip to content

tests/qtest: Enable spapr dma tests

Nicholas Piggin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/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/4tests/qtest: Fix virtio msix message endiannesstests/qtest/libqos/virtio-pci-modern.c tests/qtest/libqos/virtio-pci.c+7 -30 replies
3/4tests/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 -591 reply
4/4tests/qtest: Enable spapr dma with linear iommu maphw/ppc/spapr_iommu.c tests/qtest/e1000e-test.c tests/qtest/igb-test.c +7 more+12 -861 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéFabiano Rosas
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] tests/qtest: Enable spapr dma tests

I kept R-B tags from Fabiano and Phil despite a little change in how patch 1 looks and splitting it, hope that is okay.

Since RFC:
- Split endian fix + invalid value assert into two paches.
- Changed the invalid message assertion in what is now patch 1 to use g_assert_cmphex so the failing value can be seen.
- Added patch 3 to factor duplicated code we just changed. Some patches I have for e1000e and xhci tests also want to use the same function...
- Fixed stray hunk from mis-rebase in the spapr patch.

Thanks,
Nick

Nicholas Piggin (4):
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/libqos/pci.h               |  6 +--
 hw/ppc/spapr_iommu.c                   |  9 +++-
 tests/qtest/e1000e-test.c              | 21 ---------
 tests/qtest/igb-test.c                 | 21 ---------
 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               | 62 ++++++++++++++++++++------
 tests/qtest/libqos/virtio-pci-modern.c | 30 +++----------
 tests/qtest/libqos/virtio-pci.c        | 38 ++++------------
 tests/qtest/vhost-user-blk-test.c      |  6 ---
 tests/qtest/virtio-blk-test.c          | 12 -----
 12 files changed, 77 insertions(+), 139 deletions(-)
Signature · 1 line
2.47.1