Enable building for ppc64le

Don't remove slof.bin for ppc64le

usb: add config options for hub and hid devices for ppc
This commit is contained in:
Eduard Abdullin 2025-04-10 10:19:14 +00:00 committed by root
parent f0504b35c2
commit 97775a68ba
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 142dc9a4a974867563c751663bbeec5e9b675522 Mon Sep 17 00:00:00 2001
From: eabdullin <eabdullin@almalinux.org>
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)

View File

@ -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 <eabdullin@almalinux.org> - 17:9.1.0-15.alma.1
* Thu Apr 10 2025 Eduard Abdullin <eabdullin@almalinux.org> - 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 <jmaloy@redhat.com> - 9.1.0-15
- kvm-net-Fix-announce_self.patch [RHEL-73891]