[PULL 00/17] pci: fixes

Michael S. Tsirkin posted 17 patches 2 weeks, 5 days ago
Failed in applying to current master (apply log)
docs/specs/pci-ids.rst                 |   9 +-
include/hw/pci/pcie_sriov.h            |   4 +-
tests/qtest/libqos/ahci.h              |   2 +
tests/qtest/libqos/pci.h               |  21 +++-
hw/pci/pci.c                           |  11 +-
hw/pci/pcie_sriov.c                    |  24 +++-
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/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/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 --
20 files changed, 319 insertions(+), 224 deletions(-)
[PULL 00/17] pci: fixes
Posted by Michael S. Tsirkin 2 weeks, 5 days ago
The following changes since commit 4075aa42daecf701cd3869da8b3271dc3c04a4b1:

  Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2026-10-30 15:26:36 -0500)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to cc82fad46af62a3f5488538b6261eb7d54837294:

  qtest/libqos/pci: Factor msix entry helpers into pci common code (2026-11-02 03:52:53 -0500)

----------------------------------------------------------------
pci: fixes

pcie_sriov: fix for user-creation of VFs replaced by v2
pcie sriov: a couple more robustness improvements
pci: id docs clarified
pci: a bunch of test fixes, robustness

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

----------------------------------------------------------------
Clément MATHIEU--DRIF (2):
      pcie_sriov: Rework the assert statements checking region numbers
      pcie_sriov: Adapt bar type array size to the number of regions

Daniel Paziyski (3):
      pci: fix null pointer dereference on pci device registration failure
      pcie_sriov: perform additional checks after pci device realization
      pcie_sriov: fix null pointer dereference when initializing PFs in a system with user and device created VFs

Gerd Hoffmann (2):
      pci id: clarify pci subsystem id usage
      pci id: assign pci subsystem id for osmates

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

 docs/specs/pci-ids.rst                 |   9 +-
 include/hw/pci/pcie_sriov.h            |   4 +-
 tests/qtest/libqos/ahci.h              |   2 +
 tests/qtest/libqos/pci.h               |  21 +++-
 hw/pci/pci.c                           |  11 +-
 hw/pci/pcie_sriov.c                    |  24 +++-
 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/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/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 --
 20 files changed, 319 insertions(+), 224 deletions(-)


Re: [PULL 00/17] pci: fixes
Posted by Richard Henderson 2 weeks, 5 days ago
On 11/3/26 03:50, Michael S. Tsirkin wrote:
> The following changes since commit 4075aa42daecf701cd3869da8b3271dc3c04a4b1:
> 
>    Merge tag 'block-pull-request' ofhttps://gitlab.com/stefanha/qemu into staging (2026-10-30 15:26:36 -0500)
> 
> are available in the Git repository at:
> 
>    https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
> 
> for you to fetch changes up to cc82fad46af62a3f5488538b6261eb7d54837294:
> 
>    qtest/libqos/pci: Factor msix entry helpers into pci common code (2026-11-02 03:52:53 -0500)
> 
> ----------------------------------------------------------------
> pci: fixes
> 
> pcie_sriov: fix for user-creation of VFs replaced by v2
> pcie sriov: a couple more robustness improvements
> pci: id docs clarified
> pci: a bunch of test fixes, robustness

Applied, thanks.

r~