#196 Configurable NIC model of KVM guest
Opened 5 years ago by mlichvar. Modified 5 years ago

The standard-inventory-qcow2 inventory configures the VM with the virtio NIC. This prevents testing of PTP (e.g. in the linux-system-roles) on some older systems (e.g. CentOS7), which don't support SW timestamping in their virtio driver.

It would be nice to have an option to use the e1000 NIC instead of virtio.


Hi, #219 should add desired functionality.

If you want to test, you can try temporary Copr build from https://copr.fedorainfracloud.org/coprs/g/osci/standard-test-roles/build/766727/

Put in /tests file such as:

cat provision.fmf 
---

# qemu options: https://qemu.weilnetz.de/doc/qemu-doc.html

standard-inventory-qcow2:
  qemu:
    # RAM size in megabytes. Optionally, a suffix of “M” or “G”.
    m: 3G
    net_nic:
      # Use qemu-system-x86_64 -net nic,model=help for a list of available devices.
      model: e1000

standard-inventory-docker:
  dumb_option: dumb_parameter

# vim:ft=yaml: ts=2 sts=2 sw=2 expandtab

Login to comment on this ticket.

Metadata