public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Miroslav Rezanina <mrezanin@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qemu] eln: * Thu Aug 20 2026 Miroslav Rezanina <mrezanin@redhat.com> - 10.1.0-27
Date: Thu, 15 Oct 2026 07:30:52 GMT	[thread overview]
Message-ID: <179204945235.1.7200717445012872239.rpms-qemu-20fb64fdafa1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/qemu
            Branch : eln
            Commit : 20fb64fdafa199f26e949f616d2a74422543fb9a
            Author : Miroslav Rezanina <mrezanin@redhat.com>
            Date   : 2026-10-14T15:36:24+02:00
            Stats  : +53/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/qemu/c/20fb64fdafa199f26e949f616d2a74422543fb9a?branch=eln

            Log:
            * Thu Aug 20 2026 Miroslav Rezanina <mrezanin@redhat.com> - 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(<boot order='1'/> -- add-on qcow2 file))

---
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 <jrossi@linux.ibm.com>
+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 <cohuck@redhat.com>
+RH-MergeRequest: 516: pc-bios/s390-ccw: Always reset virtio device on failed boot attempt
+RH-Jira: RHEL-151317
+RH-Acked-by: acordeir <None>
+RH-Acked-by: Richard W.M. Jones <rjones@redhat.com>
+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 <thuth@redhat.com>
+Reviewed-by: Eric Farman <farman@linux.ibm.com>
+Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
+Message-ID: <20260309003601.242634-4-jrossi@linux.ibm.com>
+Signed-off-by: Thomas Huth <thuth@redhat.com>
+(cherry picked from commit dd8c8f16c0244fd5393dc305501675ca1ae2990a)
+Signed-off-by: Cornelia Huck <cohuck@redhat.com>
+---
+ 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.spec b/qemu.spec
index 694d43c..a9ae4ed 100644
--- a/qemu.spec
+++ b/qemu.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)
@@ -1677,6 +1677,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(<boot order='1'/> -- add-on qcow2 file)
+Patch481: kvm-pc-bios-s390-ccw-Always-reset-virtio-device-on-faile.patch
 
 %if %{have_clang}
 BuildRequires: clang
@@ -2759,6 +2761,11 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
 %endif
 
 %changelog
+* Thu Aug 20 2026 Miroslav Rezanina <mrezanin@redhat.com> - 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(<boot order='1'/> -- add-on qcow2 file))
+
 * Tue Aug 11 2026 Miroslav Rezanina <mrezanin@redhat.com> - 10.1.0-26
 - kvm-vfio-region-Clarify-dma-buf-failure-messages.patch [RHEL-224652]
 - Resolves: RHEL-224652

                 reply	other threads:[~2026-10-15  7:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179204945235.1.7200717445012872239.rpms-qemu-20fb64fdafa1@fedoraproject.org \
    --to=mrezanin@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox