Thales Elero Cervi efcf674342 Update QEMU 7.2 build instructions
This change adds the use of the configure flag --target-list to filter
our build targets, mapping only targets currently required on the
StarlingX virtualization context.
This reduces both the time and the required disk space for for build:
* BEFORE: Build needed 00:17:34, 7709532k disk space
* AFTER : Build needed 00:16:27, 2394216k disk space

Also, this change updates patch 0006 by adding an extra, and now
required, library to configure LIBS. Because of that, the patch name is
also reworded.

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

Story: 2010781
Task: 50764

Change-Id: I0362546606ad26bececf810c7c9e9ef2eb9b08fb
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
2024-08-07 15:01:35 -03:00
..
2024-08-07 15:01:35 -03:00
2018-08-01 10:06:31 -04:00
2018-08-01 10:06:31 -04:00
2018-08-01 10:06:31 -04:00
2018-08-01 10:06:31 -04:00

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.