From: Utkarsh Verma <uverma@linux.ibm.com>
This series fixes a number of issues in the pci and MSI-X qtest
infrastructure, and adds new functionality.
Nicholas Piggin is the original author of patches 1-3 and 5-10. Patch 4
is new in this version. This series takes Jishnu Warrier's v6 forward.
Changes since v6:
(https://lore.kernel.org/qemu-devel/20260817185539.376740-1-jishnuvw@linux.ibm.com/)
- Add patch 4: Fix endianness of NVMe queue structures in nvme-test.
- qpci_msix_test_interrupt(): Make msix_entry parameter to uint16_t to match
other MSI-X helpers and validate it against qpci_msix_table_size() to catch
uninitialized vectors instead of checking for != -1. (Patch 3/10)
- nvme-test migrate: use qpci_migrate_fixup() to carry the BAR mapping
over to the destination device instead of unmapping the source BAR and
mapping BAR0 again. (PATCH 7/10)
Nicholas Piggin (9):
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 MSI-X interrupt status
tests/qtest: Enable spapr dma with linear iommu
tests/qtest/ahci: unmap pci bar before reusing 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
Utkarsh Verma (1):
tests/qtest/nvme-test: fix NVMe struct field endianness
hw/ppc/spapr_iommu.c | 10 +-
tests/qtest/ahci-test.c | 7 +
tests/qtest/e1000e-test.c | 21 ---
tests/qtest/igb-test.c | 21 ---
tests/qtest/libqos/ahci.c | 12 ++
tests/qtest/libqos/ahci.h | 2 +
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 | 217 ++++++++++++++++++++++---
tests/qtest/libqos/pci.h | 21 ++-
tests/qtest/libqos/virtio-pci-modern.c | 30 +---
tests/qtest/libqos/virtio-pci.c | 86 ++--------
tests/qtest/nvme-test.c | 39 ++---
tests/qtest/vhost-user-blk-test.c | 6 -
tests/qtest/virtio-blk-test.c | 12 --
16 files changed, 280 insertions(+), 215 deletions(-)
--
2.55.0