kata-containers/tools/packaging/qemu/patches/5.1.x
Yuanzhe Liu 536634e909 qemu: align before memory hotplug on arm64
When hotplug memory on arm64 in kata, kernel will shout:

[ 0.396551] Block size [0x40000000] unaligned hotplug range: start 0xc8000000, size 0x40000000
[ 0.396556] acpi PNP0C80:01: add_memory failed
[ 0.396834] acpi PNP0C80:01: acpi_memory_enable_device() error
[ 0.396948] acpi PNP0C80:01: Enumeration failure

It means that kernel will check if the memory range to be hotplugged
align with 1G before plug the memory. So we should twist the qemu to
make sure the memory range align with 1G to pass the kernel check.

Fixes: #1841

Signed-off-by: Yuanzhe Liu <yuanzheliu09@gmail.com>
(cherry picked from commit bc36b7b49f)
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2021-05-24 15:08:11 +02:00
..
0001-arm-enable-cold-plug-nvdimm-using-DT.patch qemu: upgrade qemu version to 5.1.0 for arm64. 2020-09-30 22:40:49 +08:00
0002-virtio-skip-legacy-support-check-on-machine-types-le.patch packaging: apply qemu v5.1 stable fixes 2020-10-10 18:29:23 +08:00
0003-vhost-vsock-pci-force-virtio-version-1.patch packaging: apply qemu v5.1 stable fixes 2020-10-10 18:29:23 +08:00
0004-vhost-user-vsock-pci-force-virtio-version-1.patch packaging: apply qemu v5.1 stable fixes 2020-10-10 18:29:23 +08:00
0005-vhost-vsock-ccw-force-virtio-version-1.patch packaging: apply qemu v5.1 stable fixes 2020-10-10 18:29:23 +08:00
0006-virtiofsd-Used-glib-shared-thread-pool.patch packaging: Apply virtiofs performance related fixes to 5.x 2020-10-13 19:06:13 +02:00
0007-virtiofsd-Add-o-allow_direct_io-no_allow_direct_io-o.patch qemu: Add security fixes for CVE-2020-35517 2021-02-04 22:26:20 +01:00
0008-virtiofsd-extract-lo_do_open-from-lo_open.patch qemu: Add security fixes for CVE-2020-35517 2021-02-04 22:26:20 +01:00
0009-virtiofsd-optionally-return-inode-pointer-from-lo_do.patch qemu: Add security fixes for CVE-2020-35517 2021-02-04 22:26:20 +01:00
0010-virtiofsd-prevent-opening-of-special-files-CVE-2020-.patch qemu: Add security fixes for CVE-2020-35517 2021-02-04 22:26:20 +01:00
0011-virtiofsd-Add-_llseek-to-the-seccomp-whitelist.patch qemu: Add security fixes for CVE-2020-35517 2021-02-04 22:26:20 +01:00
0012-virtiofsd-Add-restart_syscall-to-the-seccomp-whiteli.patch qemu: Add security fixes for CVE-2020-35517 2021-02-04 22:26:20 +01:00
0013-qemu-align-before-memory-hotplug-on-arm64.patch qemu: align before memory hotplug on arm64 2021-05-24 15:08:11 +02:00