]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/pci: Export pci_device_get_iommu_bus_devfn() and return bool
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Tue, 6 Jan 2026 06:12:46 +0000 (01:12 -0500)
committerCédric Le Goater <clg@redhat.com>
Tue, 13 Jan 2026 07:29:58 +0000 (08:29 +0100)
commitd58230d8754fedf6fc7313e0faa25bb5edc5ba2e
treef4f3c006f3ae1a0a329f70c0e6d7e617797c0427
parent4fda086f76c05ffa432581de0042656ddff802fc
hw/pci: Export pci_device_get_iommu_bus_devfn() and return bool

Returns true if PCI device is aliased or false otherwise. This will be
used in following patch to determine if a PCI device is under a PCI
bridge.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20260106061304.314546-5-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/pci/pci.c
include/hw/pci/pci.h