aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/qemu_build.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-08-08Remove: Obsolete bash codePeter Mikus1-58/+0
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ide17a2e2ae7e1311f00093c14f6c4879406e5868
2018-03-26Optimize Qemu installation to speed up vhost testsPeter Mikus1-60/+26
Currently Qemu is being installed if there is a change of qsz parameter between tests/suites. Qemu is installed always into the same directory. This patch changes the default behavior to install qemu over and install pathced version to separate directory. It also disables force install. Change-Id: I0d7493a02b026a6ae4a5ea8bacf54656de9db567 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-01-10add new topology parameter: archGabriel Ganne1-1/+5
if unset, arch variable will default to "x86_64" * Note on "arm64" vs "aarch64" debian-based uses arm64 rhel-based uses aarch64 qemu binaries of both distribs uses aarch64 dpdk uses arm64 vpp uses aarch64 python machine modules uses aarch64 => prefer aarch64 to use the same nomenclature as vpp * add ARCH argument to: init_dpdk.sh, install_dpdk.sh, run_l2fwd.sh, install_tldk.sh, run_tldk.sh. default to x86_64 converts "aarch64" if needed for dpdk naming convention * fixed terminal end detection to allow "~]# " add dut node arch as param to all robot set bin calls * add --target-list flag to qemu_build.sh defaults to x86_64-softmmu * add arch flag to all the topology files * topologies/available/ (and example file) * resources/tools/virl/topologies/ * set _qemu_bin path using node['arch'] in qemu_set_node() Change-Id: If46d88d064d213d3e4c6fc584bb8e0d4b6428cb8 Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
2017-07-19FIX: Do not download Qemu multiple times per jobPeter Mikus1-4/+6
- Add caching of Qemu source code to avoid downloading multiple times. Change-Id: Ie06dd87a08c38ca27fbe9844f25f11b8df1ff2e2 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2017-04-09CSIT-441 vhost - Parametrized qemu installpmikus1-37/+54
Update the current QEMU installation script with option to override QEMU installation and to apply additional patches. Additional patches are applied from qemu_patches directory and subdir for specific QEMU version by run-parts. This means that all patches for particular version are applied. All keywords for build QEMU are updated. Change-Id: I0c874a96ac828dff657ee33eb87d88a8854128ad Signed-off-by: pmikus <pmikus@cisco.com>
2016-07-13CSIT-205 Update qemu install scriptpmikus1-12/+35
- Update Qemu install script to only install if not present - Add option to force reinstall Qemu - Add Keyword to install Qemu on all DUTs Change-Id: Ic403c8749067878fe444d4d26ae21fd5d4781d3f Signed-off-by: pmikus <pmikus@cisco.com>
2016-04-15Update Qemu libraryMatus Fabian1-5/+12
Incorporated changes from nested VM on VIRL. Change-Id: I76ceeb2dde635c2cf0d3a53d29bf24fed72a5437 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-03-11Add KW to build QEMU 2.2.1 on nodeMatus Fabian1-0/+39
Change-Id: I58271aff1ef558752f00593bbad5c3317d08288d Signed-off-by: Matus Fabian <matfabia@cisco.com>