From 97775a68ba9fbfb8ce786c1caa9af5af73eba1f8 Mon Sep 17 00:00:00 2001 From: Eduard Abdullin Date: Thu, 10 Apr 2025 10:19:14 +0000 Subject: [PATCH] Enable building for ppc64le Don't remove slof.bin for ppc64le usb: add config options for hub and hid devices for ppc --- ...ptions-for-hub-and-hid-devices-for-p.patch | 25 +++++++++++++++++++ SPECS/qemu-kvm.spec | 4 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch diff --git a/SOURCES/0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch b/SOURCES/0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch new file mode 100644 index 0000000..60ad632 --- /dev/null +++ b/SOURCES/0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch @@ -0,0 +1,25 @@ +From 142dc9a4a974867563c751663bbeec5e9b675522 Mon Sep 17 00:00:00 2001 +From: eabdullin +Date: Thu, 10 Apr 2025 13:16:31 +0300 +Subject: [PATCH] usb: add config options for hub and hid devices for ppc + +--- + configs/devices/ppc64-softmmu/ppc64-rh-devices.mak | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak b/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak +index dbb7d3082..4b801b126 100644 +--- a/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak ++++ b/configs/devices/ppc64-softmmu/ppc64-rh-devices.mak +@@ -20,6 +20,8 @@ CONFIG_USB_STORAGE_CLASSIC=y + CONFIG_USB_XHCI=y + CONFIG_USB_XHCI_NEC=y + CONFIG_USB_XHCI_PCI=y ++CONFIG_USB_HUB=y ++CONFIG_USB_HID=y + CONFIG_VFIO=y + CONFIG_VFIO_PCI=y + CONFIG_VGA=y +-- +2.39.5 (Apple Git-154) + diff --git a/SPECS/qemu-kvm.spec b/SPECS/qemu-kvm.spec index 2989412..b56792e 100644 --- a/SPECS/qemu-kvm.spec +++ b/SPECS/qemu-kvm.spec @@ -470,6 +470,7 @@ Patch148: kvm-iotests-Add-NBD-based-tests-for-inactive-nodes.patch # AlmaLinux Patch Patch149: 0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch +Patch150: 0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch %if %{have_clang} BuildRequires: clang @@ -1542,9 +1543,10 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %endif %changelog -* Wed Apr 09 2025 Eduard Abdullin - 17:9.1.0-15.alma.1 +* Thu Apr 10 2025 Eduard Abdullin - 17:9.1.0-15.alma.1 - Enable building for ppc64le - Don't remove slof.bin for ppc64le +- usb: add config options for hub and hid devices for ppc * Mon Feb 17 2025 Jon Maloy - 9.1.0-15 - kvm-net-Fix-announce_self.patch [RHEL-73891]