SR-IOV VFs passed through to a KVM libvirt guest do not have NUMA locality

Solution Verified - Updated -

Issue

  • SR-IOV VFs passed through to a KVM libvirt guest do not have NUMA locality
  • Not able to get Numa affinity of PCI device on guest
  • We are trying to know the NUMA affinity of PCI devices (network interface in our case) on guest hosted on RHEL 7.3. We are seeing only -1.
# lspci | grep Ether
00:09.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)
00:0a.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

# cat /sys/devices/pci0000:00/0000:00:09.0/numa_node
-1
# cat /sys/devices/pci0000:00/0000:00:0a.0/numa_node
-1

Environment

  • Red Hat Enterprise Linux 7.3
  • KVM virtual machines controlled by libvirt
  • Intel Corporation 82599 Ethernet Controller Virtual Function (SR-IOV VF)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content