1.2.1. Prerequisites

QEMU and libvirt

Virtual Accelerator works with the qemu and libvirt included in Ubuntu 18.04.

  1. Install the following packages:

    # apt-get install -y libvirt-bin python-libvirt qemu qemu-system-x86
    
  2. Start libvirt:

    # systemctl start libvirt-bin
    
  3. Remove the libvirt default network:

    # virsh net-destroy default
    # virsh net-undefine default
    

Other prerequisites

Mellanox ConnectX-3 EN series and Mellanox ConnectX-4 EN series NICs

Drivers for these NICs require up-to-date firmware versions.

These are available for download from the Mellanox website, either using the mlxup tool, or through the latest Mellanox OFED for your Linux distribution.

Mellanox does not provide firmware releases for all OEM products, these are distributed by OEMs directly.

Note

In order to avoid installation conflicts, make sure Mellanox OFED itself is uninstalled before installing Virtual Accelerator packages.