Nicholas Piggin <npig...@gmail.com> writes: > qtests spapr dma was broken because the iommu was not set up. > > spapr requires hypercalls to set up the iommu (TCE tables), but > there is no support for that or a side-channel to the iommu in > qtests at the moment, so add a quick workaround in QEMU to have > the spapr iommu provide a linear map to memory when running > qtests. > > The buggy msix checks can all be removed since the tests all work > now. > > Signed-off-by: Nicholas Piggin <npig...@gmail.com>
Reviewed-by: Fabiano Rosas <faro...@suse.de> I'm off for the next two weeks, if you're in a rush feel free to merge this. It passes all the tests I do for the qtest tree. There's a preexisting refcount bug on the ASAN build with: QTEST_QEMU_BINARY=./qemu-system-ppc64 ./tests/qtest/qos-test -r \ /ppc64/pseries/spapr-pci-host-bridge/pci-bus-spapr/pci-bus/virtio-net-pci/virtio-net/virtio-net-tests/vhost-user/connect-fail I'll report separately.