Replace 0001-Add-AArch64-and-ppc64le-support-to-QEMU-backend.patch with
0001-Add-AArch64-ppc64le-s390x-support.patch. Keeps the existing AArch64
and ppc64le tweaks (including the ppc64le arch_supports_boot_order fix
from -4) and adds s390x:
- virtio-keyboard for s390x and ppc64le (via $use_virtio_kbd)
- virtio-rng (CCW) instead of virtio-rng-pci on s390x
- virtio-tablet + no usb-tablet on s390x and ppc64le
- Gate audio and floppy devices out on s390x as well
- PXE bootindex=$i on NIC devices when PXEBOOT is set
- BOOTFROM=n/net parsing for network boot
- virtio-gpu added to EDID-capable device list
- Drop unused save_storage_drives sub
- Default _serialdev=ttysclp0 when ARCH=s390x + BACKEND=qemu
Verified against upstream tarball 6c17e24 (the commit our Version pins):
$ patch -p1 --dry-run
patching file 'backend/qemu.pm'
patching file testapi.pm
No fuzz, no offsets.
QEMU spapr/pseries honors -boot once=d / order=, so leaving
$arch_supports_boot_order disabled on ppc64le made install tests
that supply both an ISO and an HDD_1 boot the HDD instead of the
installer CD (same symptom as running x86_64 without -boot). Drop
that line from the patch so ppc64le behaves like x86_64.
Patch description updated to record the history; hunk shrinks by
one line and the patch diffstat updates accordingly.
Patch by Elkhan Mammadli <elkhan.mammadli@protonmail.com>. Adjusts the
QEMU backend for the QEMU build shipped in Enterprise Linux on AArch64
and ppc64le: use qemu-xhci on AArch64, wire virtio keyboard/tablet on
ppc64le, disable audio, and skip unsupported boot-order and floppy
handling.