
As we add kata container support for StarlingX with the latest kata containers stable version 3.1.3. We need to upgrade qemu to 7.2.0 version to make them compatible. Test plan: PASS - Build qemu package. PASS - Build /install image on AIO-SX. PASS - Verify the package is installed in the system. PASS - Verify the qemu-utils correctly installed by running qemi-image -V PASS - Verify the qemu x86_64 correctly installed by running qemu-system-x86_64 --version PASS - Verify stx-openstack works correctly with sanity and regression tests. PASS - Verify that the kata-runtime check command print system is capable of running kata containers. PASS - Verify that kubectl could create pod with kata containers runtime, and pod start successfully. Story: 2010781 Task: 48183 Change-Id: Ie9fba13999023e3dce37c620864710707bc679ed Signed-off-by: David Liu <david.liu@windriver.com>
Get the RedHat source rpm from: $ wget wget http://cbs.centos.org/kojifiles/packages/qemu-kvm-ev/2.3.0/31.el7_2.7.1/src/qemu-kvm-ev-2.3.0-31.el7_2.7.1.src.rpm Uncompress the source rpm: $ rpm2cpio qemu-kvm-ev-2.3.0-31.el7_2.7.1.src.rpm | cpio -idmv All the patches from the redhat source rpm have been applied in git/qemu using scripts/autopatch.sh. Some of these patches can't be applied cleanly with 'git am'. So this script attempd to execute 'git am' on each of them, if it fails it tries to patch the files manually with 'git apply --index'. A git tag 'qemu-kvm-ev-2.3.0-31.el7_2.7.1' has been added to the last patch applied. The Titanium Cloud specific patches will be added after this tag.