
Issue 11
© Solarflare Communications 2014
313
Solarflare Server Adapter
User Guide
Step 3: Install libvirt and virt-manager with SR-IOV support
Libvirt and virt-manager have been enhanced to support SR-IOV acceleration. It is suggested to
upgrade libvrt components with the components in the supplied package.
To upgrade an existing libvirt/virt-manager installation on Red Hat
6.1
do the following:
# rpm -e libvirt-java-devel-0.4.7-1.el6.noarch
# rpm -e libvirt-java-0.4.7-1.el6.noarch
# rpm -Uvh python-virtinst-0.500.5-3.el6.sf2.noarch.rpm
# rpm -Uvh libvirt-0.8.7-18.el6.sf1.x86_64.rpm \
libvirt-client-0.8.7-18.el6.sf1.x86_64.rpm \
libvirt-python-0.8.7-18.el6.sf1.x86_64.rpm
# rpm -Uvh virt-manager-0.8.6-4.el6.sf2.noarch.rpm
To upgrade an existing libvirt/virt-manager installation on Red Hat
6.2
do the following:
# rpm –Uvh libvirt-0.9.4-23.el6.sf3.x86_64.rpm \
libvirt-client-0.9.4-23.el6.sf3.x86_64.rpm \
libvirt-python-0.9.4-23.el6.sf3.x86_64.rpm \
libvirt-devel-0.9.4-23.el6.sf3.x86_64.rpm \
libvirt-lock-sanlock-0.9.4-23.el6.sf3.x86_64.rpm \
virt-manager-0.9.0-7.sf1.el6.x86_64.rpm
Guest Drivers
The Solarflare accelerated driver package is currently supplied as a tarball. It contains two drivers:
an upgraded virtio-net driver (backported from 2.6.37), and xnap, the PCI driver for Solarflare VFs.
To install drivers on Red Hat 6.1:
# tar xvfz sfc-xnap-virtio-v1_0_0_0012.tgz
# make -C sfc-xnap-virtio-v1_0_0_0012/ modules_install
Restart the guests to start using the new drivers.
To install drivers on Red Hat 6.2:
The virtio kernel module must be rebuilt and installed before the xnap module can be rebuilt and
installed.
1
As any user
rpmbuild --rebuild virtio-2.6.37-1.0.0.0016-1.el6.sf.src.rpm
NOTE:
Enabling all 127 VFs per port with more than one MSI-X interrupt per VF may not be
supported by the host BIOS and you may get 127 VFs on one port with no VFs on the other port.
Contact your BIOS vendor for a BIOS upgrade or reduce the VF count.