
Issue 11
© Solarflare Communications 2014
316
Solarflare Server Adapter
User Guide
Figure 51: Virt-Manager GUI tool
To enable SR-IOV acceleration of the virtio adapter change the "SR-IOV acceleration mode" to
"Hybrid", and the "Device model" to virtio.
Virt-manager configuration for SR-IOV: Modifying an existing adapter
It is also possible to change the "SR-IOV Acceleration mode" for existing adapters:
Figure 52: Change SR-IOV on Existing Adapter
Verifying SR-IOV
As described above, libvirt will manage VFs for interfaces with a vf-hotplug attribute. If there are
spare VFs available when the VM is started then one (or more) VFs will be attached into the running
guest. If the guest OS has the Solarflare VF drivers, and the interface is a virtio interface, then the
virtio interface will be accelerated.
NOTE:
Red Hat Enterprise Linux 5 Update 5 and Update 6 guests require the acpiphp module to be
loaded before PCI hotplug will work:
# echo "modprobe acpiphp" >> /etc/rc.modules
# chmod +x /etc/rc.modules
# modprobe acpiphp