[RFC PATCH 0/2] tests/qtest: Enable spapr dma tests

Nicholas Piggin posted 2 patches 2 weeks, 4 days ago
There is a newer version of this series
tests/qtest/libqos/pci.h               |  4 ----
hw/ppc/spapr_iommu.c                   |  9 ++++++++-
tests/qtest/e1000e-test.c              | 23 +++--------------------
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               | 14 --------------
tests/qtest/libqos/virtio-pci-modern.c |  9 +++++++--
tests/qtest/libqos/virtio-pci.c        |  7 +++++--
tests/qtest/vhost-user-blk-test.c      |  6 ------
tests/qtest/virtio-blk-test.c          | 12 ------------
12 files changed, 27 insertions(+), 89 deletions(-)
[RFC PATCH 0/2] tests/qtest: Enable spapr dma tests
Posted by Nicholas Piggin 2 weeks, 4 days ago
I took a look at the spapr buggy msix fixme in qtests... AFAIKS
it turns out to be DMA entirely broken due to iommu not set up.
Adding a quick workaround for spapr gets everything working
properly other than exposing bugs in msi message endianness
conversions.

Thanks,
Nick

Nicholas Piggin (2):
  tests/qtest: Fix virtio msix message endianness
  tests/qtest: Enable spapr dma with linear iommu map

 tests/qtest/libqos/pci.h               |  4 ----
 hw/ppc/spapr_iommu.c                   |  9 ++++++++-
 tests/qtest/e1000e-test.c              | 23 +++--------------------
 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               | 14 --------------
 tests/qtest/libqos/virtio-pci-modern.c |  9 +++++++--
 tests/qtest/libqos/virtio-pci.c        |  7 +++++--
 tests/qtest/vhost-user-blk-test.c      |  6 ------
 tests/qtest/virtio-blk-test.c          | 12 ------------
 12 files changed, 27 insertions(+), 89 deletions(-)

-- 
2.47.1