SonicOS 8 NSv Getting Started Guide for KVM

Installing the NSv Series on Ubuntu-KVM/QEMU

To install an NSv on Ubuntu-KVM/QEMU

  1. Download the NSv virtual machine qcow2 file to a local folder in the Linux Server system.

  2. Copy image file (for example: “SonicWall_NSv_For_QEMU_VM.img”) into the directory /var/lib/libvirt/images/.

  3. Bring up the Virtual Machine Manager (VMM).

  4. Create a virtual machine in the Virtual Machine Manager to receive the image file.

  5. Starting creating a new virtual machine by importing a disk image.

  6. Double click to choose storage volume and click Forward.

  7. Configure the CPU/Memory/Name/Network (default only one network interface attached), then click Forward to create. For hardware resources, refer to Product Matrix and Requirements.

  8. The default interface corresponds to X0 of the virtual machine, here, for example, we can choose a private VLAN 518 for network selection.

  9. In the Overview page, under Hypervisor Details, set Firmware as UEFI.

  10. On the Boot Option screen, select Boot device order.

  11. To add another interface, select Add Hardware. Another interface is required to serve as WAN port, or X1 of the virtual machine. (Optional) Here we can choose the interface 301.

    Both device models should choose virtIO. By default, the first network card is X0, and the second one is X1. By choosing virtIO, the virtIO API is enabled. For more information on virtIO, see Paravirtualization.

  12. In the IDE Disk 1 screen, under Virtual Disk, select Disk bus as VirtIO.

  13. Create a new virtual machine with the Display set as Spice server. Otherwise, you might not be able to use the keyboard with the new virtual machine.

    In the previous dialog box, SPICE refers to the Simple Protocol for Independent Computing Environment. In this context a SPICE Display is one that can be accessed remotely through a standard protocol.

  14. Open the newly created virtual machine and select View to see NSv boot messages.