[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] Error starting domain: internal error: missing IFLA_VF_INFO in netlink response



Hi,

We try PCI Passthrough of host network devices on PPC platform.
http://wiki.libvirt.org/page/Networking#Assignment_with_.3Cinterface_type.3D.27hostdev.27.3E_.28SRIOV_devices_only.29

But we got a similar issue as below that reported on RedHat before:
https://bugzilla.redhat.com/show_bug.cgi?id=1040626

With <hostdev>, it could start VM successfully.
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x4'/>
      </source>
    </hostdev>

Logged into VM and checked for VF using lspci
root model : qemu ppce500:~# lspci
00:00.0 PCI bridge: Freescale Semiconductor Inc MPC8533E
00:02.0 Power PC: Freescale Semiconductor Inc Device 0000 (rev 20)
00:03.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon

But it will fail if using <interface type="hostdev">:
    <interface type="hostdev" managed="yes">
      <mac address="00:e0:0c:00:20:01"/>
     <source>
        <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x4"/>
      </source>
    </interface>


# virsh create vf.xml
2014-11-24 11:08:31.390+0000: 3556: info : libvirt version: 1.2.2
2014-11-24 11:08:31.390+0000: 3556: debug : virLogParseOutputs:1378 : outputs=1:file:virsh.log
error: Failed to create domain from vf.xml
error: internal error: missing IFLA_VF_INFO in netlink response

Exactly We're using max_vfs=2 and libnl-3.2.22
# ls -l /usr/lib64/libnl-3.so.200.17.0
-rwxr-xr-x 1 root root 154440 Sep 17 07:15 /usr/lib64/libnl-3.so.200.17.0


Why this issue happened on PPC? Is there anything architecture-specific support needed to add?

Thanks,
Olivia


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]