diff --git a/kvm-pc-bios-s390-ccw-Always-reset-virtio-device-on-faile.patch b/kvm-pc-bios-s390-ccw-Always-reset-virtio-device-on-faile.patch new file mode 100644 index 0000000..3bf6ac4 --- /dev/null +++ b/kvm-pc-bios-s390-ccw-Always-reset-virtio-device-on-faile.patch @@ -0,0 +1,45 @@ +From bad45ca2d89e152adfee22e2d6282d67262f1025 Mon Sep 17 00:00:00 2001 +From: Jared Rossi +Date: Sun, 8 Mar 2026 20:35:49 -0400 +Subject: [PATCH] pc-bios/s390-ccw: Always reset virtio device on failed boot + attempt + +RH-Author: Cornelia Huck +RH-MergeRequest: 516: pc-bios/s390-ccw: Always reset virtio device on failed boot attempt +RH-Jira: RHEL-151317 +RH-Acked-by: acordeir +RH-Acked-by: Richard W.M. Jones +RH-Commit: [1/1] a803bf75e4205bca950eb00793e3911dbc62d60b (cohuck/qemu-kvm-cs) + +The virtio spec necessitates that live virtqueues must not be altered. Reset +the failed device so that the queues are not live before we attempt to boot any +fallback devices. + +Reviewed-by: Thomas Huth +Reviewed-by: Eric Farman +Signed-off-by: Jared Rossi +Message-ID: <20260309003601.242634-4-jrossi@linux.ibm.com> +Signed-off-by: Thomas Huth +(cherry picked from commit dd8c8f16c0244fd5393dc305501675ca1ae2990a) +Signed-off-by: Cornelia Huck +--- + pc-bios/s390-ccw/main.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c +index 76bf743900..8e2c99bee1 100644 +--- a/pc-bios/s390-ccw/main.c ++++ b/pc-bios/s390-ccw/main.c +@@ -277,7 +277,8 @@ static void ipl_boot_device(void) + break; + case CU_TYPE_VIRTIO: + if (virtio_setup() == 0) { +- zipl_load(); ++ zipl_load(); /* only return on error */ ++ virtio_reset(virtio_get_device()); + } + break; + default: +-- +2.52.0 + diff --git a/qemu-kvm.spec b/qemu-kvm.spec index f020522..7bdc790 100644 --- a/qemu-kvm.spec +++ b/qemu-kvm.spec @@ -143,7 +143,7 @@ Obsoletes: %{name}-block-ssh <= %{epoch}:%{version} \ Summary: QEMU is a machine emulator and virtualizer Name: qemu-kvm Version: 10.1.0 -Release: 26%{?rcrel}%{?dist}%{?cc_suffix} +Release: 27%{?rcrel}%{?dist}%{?cc_suffix} # 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) @@ -1674,6 +1674,8 @@ Patch478: kvm-s390x-sclpcpi-check-event-length-field-before-readin.patch Patch479: kvm-s390x-css-firm-up-handling-of-chained-TIC-CCWs.patch # For RHEL-224652 - Backport vfio/region: Clarify dma-buf failure messages Patch480: kvm-vfio-region-Clarify-dma-buf-failure-messages.patch +# For RHEL-151317 - RHEL10 - KVM full Boot order support -- Guest is crashing for the invalid boot device( -- add-on qcow2 file) +Patch481: kvm-pc-bios-s390-ccw-Always-reset-virtio-device-on-faile.patch %if %{have_clang} BuildRequires: clang @@ -2756,6 +2758,11 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %endif %changelog +* Thu Aug 20 2026 Miroslav Rezanina - 10.1.0-27 +- kvm-pc-bios-s390-ccw-Always-reset-virtio-device-on-faile.patch [RHEL-151317] +- Resolves: RHEL-151317 + (RHEL10 - KVM full Boot order support -- Guest is crashing for the invalid boot device( -- add-on qcow2 file)) + * Tue Aug 11 2026 Miroslav Rezanina - 10.1.0-26 - kvm-vfio-region-Clarify-dma-buf-failure-messages.patch [RHEL-224652] - Resolves: RHEL-224652