diff --git a/SOURCES/0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch b/SOURCES/0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch new file mode 100644 index 0000000..12dd9e9 --- /dev/null +++ b/SOURCES/0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch @@ -0,0 +1,24 @@ +From 3fba57ee91df62b5efa82ee0e066a5a2efc1da04 Mon Sep 17 00:00:00 2001 +From: eabdullin +Date: Wed, 9 Apr 2025 16:43:18 +0300 +Subject: [PATCH] Bring back missing line in target/ppc/cpu-models.c + +--- + target/ppc/cpu-models.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c +index f77ebfcc8..18e942200 100644 +--- a/target/ppc/cpu-models.c ++++ b/target/ppc/cpu-models.c +@@ -744,6 +744,7 @@ + /* PowerPC CPU aliases */ + + PowerPCCPUAlias ppc_cpu_aliases[] = { ++#if 0 /* Disabled for Red Hat Enterprise Linux */ + { "405", "405d4" }, + { "405cr", "405crc" }, + { "405gp", "405gpd" }, +-- +2.39.5 (Apple Git-154) + 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/SOURCES/kvm-target-i386-fix-feature-dependency-for-WAITPKG.patch b/SOURCES/kvm-target-i386-fix-feature-dependency-for-WAITPKG.patch new file mode 100644 index 0000000..484a3d5 --- /dev/null +++ b/SOURCES/kvm-target-i386-fix-feature-dependency-for-WAITPKG.patch @@ -0,0 +1,45 @@ +From d26f4a804b173a68cb8d085ec6dca45cf7f72dcb Mon Sep 17 00:00:00 2001 +From: Igor Mammedov +Date: Wed, 8 May 2024 11:10:54 +0200 +Subject: [PATCH] target/i386: fix feature dependency for WAITPKG + +RH-Author: Igor Mammedov +RH-MergeRequest: 438: target/i386: fix feature dependency for WAITPKG +RH-Jira: RHEL-84866 +RH-Acked-by: Ani Sinha +RH-Acked-by: Jon Maloy +RH-Commit: [1/1] 5c774fe64acd0396b1bdca8c5a8d0c3836b42b6a + +JIRA: https://issues.redhat.com/browse/RHEL-84866 + +The VMX feature bit depends on general availability of WAITPKG, +not the other way round. + +Fixes: 33cc88261c3 ("target/i386: add support for VMX_SECONDARY_EXEC_ENABLE_USER_WAIT_PAUSE", 2023-08-28) +Cc: qemu-stable@nongnu.org +Reviewed-by: Zhao Liu +Signed-off-by: Paolo Bonzini +(cherry picked from commit fe01af5d47d4cf7fdf90c54d43f784e5068c8d72) +Signed-off-by: Igor Mammedov +--- + target/i386/cpu.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/target/i386/cpu.c b/target/i386/cpu.c +index 13737cd703..9af105763f 100644 +--- a/target/i386/cpu.c ++++ b/target/i386/cpu.c +@@ -1550,8 +1550,8 @@ static FeatureDep feature_dependencies[] = { + .to = { FEAT_SVM, ~0ull }, + }, + { +- .from = { FEAT_VMX_SECONDARY_CTLS, VMX_SECONDARY_EXEC_ENABLE_USER_WAIT_PAUSE }, +- .to = { FEAT_7_0_ECX, CPUID_7_0_ECX_WAITPKG }, ++ .from = { FEAT_7_0_ECX, CPUID_7_0_ECX_WAITPKG }, ++ .to = { FEAT_VMX_SECONDARY_CTLS, VMX_SECONDARY_EXEC_ENABLE_USER_WAIT_PAUSE }, + }, + }; + +-- +2.48.1 + diff --git a/SPECS/qemu-kvm.spec b/SPECS/qemu-kvm.spec index c4ad765..a1dd35f 100644 --- a/SPECS/qemu-kvm.spec +++ b/SPECS/qemu-kvm.spec @@ -151,7 +151,7 @@ Obsoletes: %{name}-block-ssh <= %{epoch}:%{version} \ Summary: QEMU is a machine emulator and virtualizer Name: qemu-kvm Version: 9.0.0 -Release: 10%{?rcrel}%{?dist}%{?cc_suffix}.2.alma.1 +Release: 10%{?rcrel}%{?dist}%{?cc_suffix}.3.alma.1 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped # Epoch 15 used for RHEL 8 # Epoch 17 used for RHEL 9 (due to release versioning offset in RHEL 8.5) @@ -458,6 +458,12 @@ Patch148: kvm-tests-migration-tests-Verify-postcopy-recover-setup-.patch Patch149: kvm-tests-migration-tests-Cover-postcopy-failure-on-reco.patch # For RHEL-73006 - qemu-kvm: vhost: reports error while updating IOTLB entries [rhel-9.5.z] Patch150: kvm-vhost-fail-device-start-if-iotlb-update-fails.patch +# For RHEL-84866 - Live migration after workload update fails with operation failed: guest CPU doesn't match specification: missing features: waitpkg [rhel-9.5.z] +Patch151: kvm-target-i386-fix-feature-dependency-for-WAITPKG.patch + +# AlmaLinux Patch +Patch152: 0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch +Patch153: 0001-usb-add-config-options-for-hub-and-hid-devices-for-p.patch %if %{have_clang} BuildRequires: clang @@ -1530,9 +1536,15 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %endif %changelog -* Tue Apr 08 2025 Eduard Abdullin - 17:9.0.0-10.2.alma.1 +* Wed May 07 2025 Eduard Abdullin - 17:9.0.0-10.3.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 Mar 31 2025 Jon Maloy - 9.0.0-10.el9_5.3 +- kvm-target-i386-fix-feature-dependency-for-WAITPKG.patch [RHEL-84866] +- Resolves: RHEL-84866 + (Live migration after workload update fails with operation failed: guest CPU doesn't match specification: missing features: waitpkg [rhel-9.5.z]) * Wed Jan 15 2025 Miroslav Rezanina - 9.0.0-10.el9_5.2 - kvm-vhost-fail-device-start-if-iotlb-update-fails.patch [RHEL-73006]