StarlingX Virtualization tools
Go to file
Thales Elero Cervi c2f773a9d9 Re-order DPDK args parsing in STX Patch
When STX Patches were ported to the top of QEMU 7.2 version, the
auto-merging placed our custom cli args parsing in the wrong place at
softmmu/vl.c file. These extra cli arguments are related to DPDK
configurations and supposed to be passed to rte_eal_init() function,
called only when dpdk is enabled.
This wrong placing was actually causing an error for any instance that
we tried to launch, since in the new base version there is QEMU code
parsing the cli args BEFORE we properly handle and remove the DPDK extra
args.

This change re-orders the code position inside our patch, such that DPDK
arguments are properly parsed, sent to rte_eal_init() and removed from
argc and argv before proceeding with QEMU upstream logic.

TEST PLAN:
PASS - build-pkgs -c -p qemu
PASS - build-image
PASS - bootstrap a virtual AIO-SX
PASS - apply stx-openstack
PASS - 'openstack hypervisor list' shows a QEMU hypervisor UP
PASS - launch a simple VM (no volumes, single network), it is
       properly built and end up in Running state.

Closes-Bug: 2078230

Change-Id: Id14a2328e2fb249a4de8fc8ad6302cee0b1d48ab
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
2024-08-28 18:20:16 +00:00
doc sphinx: fix configuration 2023-10-30 10:15:14 -04:00
libvirt Fix stx-libvirt container build failure on missing qemu 2024-03-08 16:00:10 -05:00
qemu Re-order DPDK args parsing in STX Patch 2024-08-28 18:20:16 +00:00
releasenotes/source Several fixes to get thing compiling correctly. 2023-04-12 16:40:19 -04:00
virt/libvirt-python Add debian package for virt/libvirt-python 2022-01-11 23:23:00 +00:00
.gitignore Initial zuul, tox, gitreview settup 2023-03-31 11:28:30 -04:00
.gitreview Initial zuul, tox, gitreview settup 2023-03-31 11:28:30 -04:00
.yamllint Initial zuul, tox, gitreview settup 2023-03-31 11:28:30 -04:00
.zuul.yaml Zuul/Tox: Fix stx-virt-pylint node set 2024-08-28 14:14:40 -03:00
centos_build_layer.cfg Several fixes to get thing compiling correctly. 2023-04-12 16:40:19 -04:00
centos_iso_image.inc Config file changes to add 'qemu libvirt ' after relocation from 'cgcs-root/stx/integ' 2023-03-31 10:56:45 -04:00
centos_pkg_dirs Config file changes to add 'qemu libvirt ' after relocation from 'cgcs-root/stx/integ' 2023-03-31 10:56:45 -04:00
centos_stable_docker_images.inc Update debian_stable_docker_images.inc to reflect libvirt relocation 2023-04-18 12:51:36 -04:00
debian_build_layer.cfg Several fixes to get thing compiling correctly. 2023-04-12 16:40:19 -04:00
debian_iso_image.inc Add missing qemu-utils package to Debian ISO 2023-04-20 15:52:42 -03:00
debian_pkg_dirs Config file changes to add 'qemu libvirt ' after relocation from 'cgcs-root/stx/integ' 2023-03-31 10:56:45 -04:00
debian_stable_docker_images.inc Update debian_stable_docker_images.inc to reflect libvirt relocation 2023-04-18 12:51:36 -04:00
LICENSE Initial zuul, tox, gitreview settup 2023-03-31 11:28:30 -04:00
README.rst Initial zuul, tox, gitreview settup 2023-03-31 11:28:30 -04:00
test-requirements.txt Several fixes to get thing compiling correctly. 2023-04-12 16:40:19 -04:00
tox.ini Several fixes to get thing compiling correctly. 2023-04-12 16:40:19 -04:00

virt

StarlingX Virtualization