Building a VM

Getting Started with Napatech Link-Virtualization™ Software

Platform
Napatech SmartNIC
Content Type
Getting Started
Getting Started Guide
Capture Software Version
Link-Virtualization™ Software 4.5

About this task

QEMU can be used for building a virtual machine from the ISO image of a Linux distribution. Follow this procedure to create a VM image.

Procedure

  1. Download the ISO image for your chosen operating system, for example fedora29.iso.
  2. Create a qemu harddisk image file.
    qemu-img create fedora.img 10G
  3. Use the qemu harddisk image file created in step 2, as the harddisk in the qemu -boot command, to begin the installation of the operating system into the VM.
    For example:
    /usr/libexec/qemu-kvm –boot d –cdrom fedora29.iso –hda fedora.img –enable-kvm –cpu host –smp 4 –m 4G

    where fedora29.iso is the name of the ISO image downloaded in step 1.

  4. Follow the prompts to install the OS to the VM harddisk image file.