]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virpci: Introduce and use virPCIDeviceAddressGetIOMMUGroupDev
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 19 Sep 2019 12:43:13 +0000 (14:43 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 09:04:43 +0000 (10:04 +0100)
commit081a12aba96a5d2cb7afa68382dc267accb6acc8
tree9311273470820814d4ac7e18e8a93b641fb0f9ad
parentcfce298042ac5b3ec5ffbdbd433bdc37756de3e4
virpci: Introduce and use virPCIDeviceAddressGetIOMMUGroupDev

Sometimes, we have a PCI address and not fully allocated
virPCIDevice and yet we still want to know its /dev/vfio/N path.
Introduce virPCIDeviceAddressGetIOMMUGroupDev() function exactly
for that.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/libvirt_private.syms
src/qemu/qemu_domain.c
src/util/virpci.c
src/util/virpci.h