[libvirt] [PATCH v3 05/30] virpci: Introduce and use virPCIDeviceAddressGetIOMMUGroupDev

Cole Robinson crobinso at redhat.com
Mon Dec 9 22:43:28 UTC 2019


On 12/2/19 9:26 AM, Michal Privoznik wrote:
> 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 at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/qemu/qemu_domain.c   | 11 +----------
>  src/util/virpci.c        | 15 +++++++++++++++
>  src/util/virpci.h        |  1 +
>  4 files changed, 18 insertions(+), 10 deletions(-)

Reviewed-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list