StarlingX Integration and packaging
Go to file
Rafael Falcao 75a234904f Debian: Add build structure for virt/qemu
This change adds the necessary files for the qemu package to
be built for Debian. This review follows the same approach
used on the virt/libvirt [1].

The base version selected comes from the Debian archive [2] since the
salsa-debian [3] version was not fully compatible with stx build tools.
The full upstream build was quite long (time) and big (size) so we
patched the Debian files with debian_patches to drop unnecessary
packages, that is, packages that starlingx does not need.

The patches dir will contain source code patches required for
stx-qemu, that is, the code that was earlier added on top of 3.0.0
qemu release to add StarlingX required functionalities.
The work done on this change is simply porting the code changes,
copying it and doing the minimum required updates when it is needed.

The list of commits follow, where the "-" character indicates that the
commit was dropped now that we are based on 5.2:

 d3400d STX: virtio-serial: don't touch virtqueue if vm is stopped
 71dc08 STX: Modify live migration auto-converge threshold
 9be81b STX: Suspend/Resume for VMs with PCIPT+Virtio
 876a3c STX: realtime uses mlock instead of mlockall
 007444 STX: qemu dpdk custom config
 3f6344 STX: add libdl
 dbda73 STX: qemu: add compile define for CONFIG_DPDK
 626bfd STX: qemu: add -enable-dpdk runtime flag
 79ea26 STX: qemu dpdk changes for openvswitch dpdk
 9c83db STX: migration thread affinity and priority qmp
 e7fbe5 STX: Add support statement to -help output
-48de9c STX: Changes for running on CentOS
-32b6f0 Upstream: Workaround: make sure vdev->vq[i].inuse never goes
        below 0
-246b26 virtio: Return true from virtio_queue_empty if broken

[1] https://review.opendev.org/c/starlingx/integ/+/863561
[2] https://snapshot.debian.org/archive/debian/20221109T211529Z/pool/main/q/qemu/
[3] https://salsa.debian.org/qemu-team/qemu/-/tree/debian-bullseye

Test Plan:
PASS: Build the qemu packages
PASS: Build iso with qemu packages
PASS: Bootstrap Debian ISO on AIO-SX
PASS: Ensure qemu packages are installed (apt list --installed)
PASS: Lock/Unlock AIO-SX *
* Future tests regarding the libvirt/qemu runtime features will be done
once all the pieces are in place in the ISO.

Depends-On: https://review.opendev.org/c/starlingx/root/+/864942

Story: 2010317
Task: 46390

Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Co-Authored-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
Change-Id: I424debf7eb24c024ba82a490cda746dbd5af0019
2022-11-18 18:10:18 -03:00
base Added ACC200 config file for pf-bb-config 2022-11-16 10:48:28 -05:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
centos-debian-compat debian: Split out system presets into separate pkg 2022-09-27 08:21:20 +00:00
ceph/ceph Merge "ceph-manage-journal: add support for mpath device" 2022-05-24 15:58:07 +00:00
config Increase timeout for openstack commands 2022-10-20 10:34:03 -03:00
database Fix the stx-mariadb docker build errors 2022-08-18 13:39:29 +00:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
docker/python-docker meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
filesystem debian: Create /drbd directory 2022-06-06 06:27:54 +00:00
golang-github-dev debian-pkg: Uprev cni plugins 2022-10-07 15:01:49 +00:00
gpu/gpu-operator Debian: Do not install gpu-operator into ISO 2022-09-21 14:25:50 +00:00
grub Debian: grub-efi: porting from LAT 2022-10-08 21:50:14 -04:00
kubernetes Add apiVersion to empty kubelet_override.yaml 2022-11-01 10:19:42 -04:00
ldap Merge "Remove nslcd and related packages on Debian" 2022-08-26 19:06:05 +00:00
livepatch/kpatch/debian livepatch: kpatch: Add the config file to customize the load order 2022-11-02 01:07:04 -04:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking debian: Fix openvswitch-vtep shutdown 2022-10-20 09:30:36 -04:00
ostree Merge "Make driver package release a command line param" 2022-11-10 02:48:18 +00:00
python Create Debian zerorpc-python package 2022-11-14 15:43:13 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security Merge "Debian: shim-unsigned: porting from LAT" 2022-10-17 17:52:29 +00:00
storage-drivers Upgrade Trident to 22.07.0 version. 2022-10-19 08:22:41 -04:00
tools kdump-tools: adapt check_secure_boot checking 2022-10-25 22:27:02 -04:00
virt Debian: Add build structure for virt/qemu 2022-11-18 18:10:18 -03:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml Remove Legacy-resolver and changed constraints 2022-08-22 15:04:43 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc Removing unused package python-ryu 2022-08-12 17:53:49 +00:00
centos_pkg_dirs Removing unused package python-ryu 2022-08-12 17:53:49 +00:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst networking: Update keepalived from 1.3.5 to 2.1.5 2021-11-12 12:12:16 -05:00
centos_srpms_centos.lst CentOS: tzdata: upversion to 2022a 2022-07-12 14:01:21 -04:00
centos_stable_docker_images.inc Remove k8s-cni-sriov docker image 2022-06-07 21:52:00 -04:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst Merge "Upgrade Trident to 22.07.0 version." 2022-10-19 17:43:53 +00:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Debian: Add build structure for virt/qemu 2022-11-18 18:10:18 -03:00
debian_pkg_dirs Debian: Add build structure for virt/qemu 2022-11-18 18:10:18 -03:00
debian_stable_docker_images.inc Build Debian image(s): n3000-opae 2022-08-29 18:37:10 +00:00
distroless_stable_docker_images.inc Remove k8s-plugin-sriov-network-device image 2022-08-31 14:03:22 -04:00
pylint.rc Updating the pylint tox target to reflect its targets 2021-11-04 10:22:24 -05:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Remove Legacy-resolver and changed constraints 2022-08-22 15:04:43 +00:00

README.rst

integ

StarlingX Integration