...
where 0000:17:00.0 and 0000:ca:00.0 identify the GPUs through their Bus ID (found e.g. with "lspci | grep NVI" command).
to verify which GPU is attached to a VM and its associated NUMA node, execute from the hypervisor the following commands:
Code Block [root@cld-dfa-gpu-04 ~]# virsh dumpxml instance-001f81d1 ... <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x17' slot='0x00' function='0x0'/> </source> [root@cld-dfa-gpu-04 ~]# virsh nodedev-dumpxml pci_0000_17_00_0 ... <product id='0x25b6'>GA107GL [A2 / A16]</product> <vendor id='0x10de'>NVIDIA Corporation</vendor> <capability type='virt_functions' maxCount='16'/> <iommuGroup number='20'> <address domain='0x0000' bus='0x17' slot='0x00' function='0x0'/> </iommuGroup> <numa node='0'/>i.e. look at the hostdev with the driver vfio to find the source PCI bus ID, and then look in more details at the pci_0000_17_00_0 device to find the GPU model and the NUMA node associated to it.