Description of problem: Using VFIO and SR-IOV at the same time stops VM from being booted due to network.Interface advertising itself as host device but not exposing it's numa_node. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Assign SR-IOV NIC 2. Assign some vfio-pci device 3. start the VM Actual results: Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 552, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 1984, in _run domxml = hooks.before_vm_start(self._buildDomainXML(), File "/usr/share/vdsm/virt/vm.py", line 1655, in _buildDomainXML list(itertools.chain(*self._devices.values()))) File "/usr/share/vdsm/virt/vmxml.py", line 785, in appendHostdevNumaTune dev_object.is_hostdevice and dev_object.numa_node] AttributeError: 'Interface' object has no attribute 'numa_node' VM doesn't start Expected results: VM started Additional info:
Verified on - vdsm-4.19.11-1.el7ev.x86_64 and 4.1.2-0.1.el7