[libvirt] computing the correct rom for seabios to recognize SR-IOV

Ido Barkan ibarkan at redhat.com
Tue Jun 9 10:49:44 UTC 2015


Hi,
I am a VDSM developer at Ovirt.

Recently, we opened Bug 1224954 - seabios does not recognize a direct attached nic [1]
and discovered that in order to leverage the <rom bar='on' file=FILE/>
(as explained in [2]) in the hostdev element, one must compute the correct FILE 
path by following something similar to:

$ lspci -v #loof for the VF nic part
00:08.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
$ grep "82576 Virtual Function" /usr/share/hwdata/pci.ids 
       10ca  82576 Virtual Function
$ rpm -ql ipxe-roms | grep 10ca
/usr/share/ipxe/808610ca.rom

This computation must be implemented for Ovirt to support booting a VM from PXE using a SRIOV VF.

Is there any chance that this computation will be done automatically by libvirt?


Thanks,
Ido

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1224954
[2] https://libvirt.org/formatdomain.html#elementsHostDevSubsys

--
libvir-list mailing list
libvir-list at redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list