diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-02-09 07:14:16 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-02-14 07:34:03 +0000 |
commit | b344f1151483179268d7b702bb752f9926a37da6 (patch) | |
tree | d16db9fd2d3b92e0806875fc2061f324b644bf3e /docs/report/introduction | |
parent | 743e97e25c04b0c890ec765fdd85e38e103dc981 (diff) |
CSIT-1426 Update main repo README
Change-Id: Ibd10baca840c42cc6f27f0452a7162559a2b34ae
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'docs/report/introduction')
-rw-r--r-- | docs/report/introduction/methodology_kvm_vms_vhost_user.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/report/introduction/methodology_kvm_vms_vhost_user.rst b/docs/report/introduction/methodology_kvm_vms_vhost_user.rst index 0a0ea1be1e..0a465cf0fb 100644 --- a/docs/report/introduction/methodology_kvm_vms_vhost_user.rst +++ b/docs/report/introduction/methodology_kvm_vms_vhost_user.rst @@ -1,6 +1,24 @@ KVM VMs vhost-user ------------------ +QEMU is used for VPP-VM testing enviroment. By default, standard QEMU version +preinstalled from OS repositories is used on VIRL/vpp_device functional testing +(qemu-2.11.x for Ubuntu 18.04, qemu-2.5.0 for Ubuntu 16.04). For perfomance +testing QEMU is downloaded from `project homepage <qemu.org>`_ and compiled +during testing. This allows framework to easily inject QEMU patches in case of +need. In QEMU version <2.8 we used it for increasing QEMU virtion queue size. +In CSIT setup DUTs have small VM image `/var/lib/vm/vhost-nested.img`. QEMU +binary can be adjusted in global settings. VM image must have installed at least +qemu-guest-agent, sshd, bridge-utils, VirtIO support and Testpmd/L3fwd +application. Username/password for the VM must be cisco/cisco and +NOPASSWD sudo access. The interface naming is based on driver (management +interface type is Intel E1000), all E1000 interfaces will be named mgmt<n> and +all VirtIO interfaces will be named virtio<n>. In VM +"/etc/init.d/qemu-guest-agent" you must set "TRANSPORT=isa-serial:/dev/ttyS1" +because ttyS0 is used by serial console and ttyS1 is dedicated for +qemu-guest-agent in QEMU setup. There is python library for QEMU setup, start +and some utilities "resources/libraries/python/QemuUtils.py" + FD.io CSIT performance lab is testing VPP vhost with KVM VMs using following environment settings: |