To install an NSv on CentOS-KVM/QEMU
Download the NSv virtual machine img file to a local folder in the Linux Server system.
Copy image file (for example: “SonicWall_NSv_For_QEMU_VM.img
”) into the directory /var/lib/libvirt/images/
.
Bring up the Virtual Machine Manager (VMM):
Create a virtual machine and select the corresponding image file format (NSv is an existing disk image).
Choose the storage volume:
Configure CPU/Memory/Name/Network (default only one network interface attached), then finish to create.
The default interface corresponds to X0 of the virtual machine, here we choose a private VLAN 518.
We need to add another network interface as WAN port, that is X1 of the virtual machine, here we choose the interface 301.
Both device models should choose virtio. By default, the first network card is X0, and the second one is X1.
Create a new virtual machine with Display set as VNC otherwise you might not be able to use keyboard with new virtual machine.
Open the new virtual machine. Select View > Details and check details of configuration after boot messages. Use View > Snapshots to take a snapshot of the virtual machine.
Add interfaces and select virtio type: