import SLOF-20210217-2.module+el8.10.0+20141+6faa2812

c8-stream-rhel imports/c8-stream-rhel/SLOF-20210217-2.module+el8.10.0+20141+6faa2812
MSVSphere Packaging Team 7 months ago
parent f2932ce4ea
commit 25b42bd14a

@ -1,17 +1,14 @@
From 75b3aadd67cd00f89304c7ce153da984635ddd4b Mon Sep 17 00:00:00 2001 From 27f045e2d52ee49ddbb375b5593d4fc387aad4b0 Mon Sep 17 00:00:00 2001
From: Thomas Huth <thuth@redhat.com> From: Jordan Niethe <jniethe5@gmail.com>
Date: Fri, 10 Nov 2023 12:24:20 +0100 Date: Tue, 29 Aug 2023 10:12:01 +1000
Subject: [PATCH 2/2] virtio-serial: Do not close stdout on quiesce Subject: [PATCH 2/2] virtio-serial: Do not close stdout on quiesce
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
RH-Author: Thomas Huth <thuth@redhat.com> RH-Author: Thomas Huth <thuth@redhat.com>
RH-MergeRequest: 2: Fix SLOF regression that prevents VM startup with virtio-serial consoles RH-MergeRequest: 1: Fix SLOF crash when only using virtio console (without spapr-vty)
RH-Jira: RHEL-15999 RH-Jira: RHEL-3709
RH-Acked-by: David Gibson (Red Hat) <dgibson@redhat.com>
RH-Acked-by: Laurent Vivier <lvivier@redhat.com> RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
RH-Acked-by: Cédric Le Goater <clg@redhat.com> RH-Commit: [2/2] cbde239703a11aa2676a12b8415281d37cba54a5
RH-Commit: [2/2] c31c71be9476f21a07ee386a0d62b62e2d37d373
Commit 76fee95 ("slof: Only close stdout for virtio-serial devices") Commit 76fee95 ("slof: Only close stdout for virtio-serial devices")
says that commit cf28264 ("virtio-serial: Rework shutdown sequence") says that commit cf28264 ("virtio-serial: Rework shutdown sequence")
@ -44,7 +41,7 @@ Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
(cherry picked from commit dd4d4ea0add97df078d571b48192adaf7c4b0d87) (cherry picked from commit dd4d4ea0add97df078d571b48192adaf7c4b0d87)
JIRA: https://issues.redhat.com/browse/RHEL-15999 Jira: https://issues.redhat.com/browse/RHEL-3709
Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
--- ---
board-qemu/slof/virtio-serial.fs | 12 +++++------- board-qemu/slof/virtio-serial.fs | 12 +++++-------
@ -86,5 +83,5 @@ index 41e2e04..de42cc7 100644
: write ( addr len -- actual ) : write ( addr len -- actual )
-- --
2.39.3 2.41.0

@ -1,17 +1,14 @@
From b9cd05513cc18363f46ad14a09c26b1dbc5c5c3f Mon Sep 17 00:00:00 2001 From 67cbc16b3e6d34cf3932f88fd32323878026d6a0 Mon Sep 17 00:00:00 2001
From: Thomas Huth <thuth@redhat.com> From: Kautuk Consul <kconsul@linux.vnet.ibm.com>
Date: Fri, 10 Nov 2023 12:23:47 +0100 Date: Tue, 29 Aug 2023 10:12:00 +1000
Subject: [PATCH 1/2] virtio-serial: Make read and write methods report failure Subject: [PATCH 1/2] virtio-serial: Make read and write methods report failure
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
RH-Author: Thomas Huth <thuth@redhat.com> RH-Author: Thomas Huth <thuth@redhat.com>
RH-MergeRequest: 2: Fix SLOF regression that prevents VM startup with virtio-serial consoles RH-MergeRequest: 1: Fix SLOF crash when only using virtio console (without spapr-vty)
RH-Jira: RHEL-15999 RH-Jira: RHEL-3709
RH-Acked-by: David Gibson (Red Hat) <dgibson@redhat.com>
RH-Acked-by: Laurent Vivier <lvivier@redhat.com> RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
RH-Acked-by: Cédric Le Goater <clg@redhat.com> RH-Commit: [1/2] 7aee41dceade77a47edd794cab43672ff95896d0
RH-Commit: [1/2] dbe438e180d62b9550abdc60e6166f88115fe642
The read and write methods return successfully even if the virtio device The read and write methods return successfully even if the virtio device
is closed (virtiodev is 0) and it is not able to send or receive any is closed (virtiodev is 0) and it is not able to send or receive any
@ -28,7 +25,7 @@ Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
(cherry picked from commit 63b66a5147069bda815989732442cb07790609db) (cherry picked from commit 63b66a5147069bda815989732442cb07790609db)
JIRA: https://issues.redhat.com/browse/RHEL-15999 Jira: https://issues.redhat.com/browse/RHEL-3709
Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
--- ---
board-qemu/slof/virtio-serial.fs | 4 ++-- board-qemu/slof/virtio-serial.fs | 4 ++--
@ -57,5 +54,5 @@ index 82868e2..41e2e04 100644
virtiodev virtio-serial-getchar swap c! 1 virtiodev virtio-serial-getchar swap c! 1
; ;
-- --
2.39.3 2.41.0

@ -4,7 +4,7 @@
Name: SLOF Name: SLOF
Version: %{GITDATE} Version: %{GITDATE}
Release: 1%{?dist}.1 Release: 2%{?dist}
Summary: Slimline Open Firmware Summary: Slimline Open Firmware
Group: Applications/Emulators Group: Applications/Emulators
License: BSD License: BSD
@ -12,9 +12,9 @@ URL: http://www.openfirmware.info/SLOF
Source0: https://github.com/aik/SLOF/archive/qemu-slof-20210217.tar.gz Source0: https://github.com/aik/SLOF/archive/qemu-slof-20210217.tar.gz
# For RHEL-15999 - SLOF regression prevents VM startup [rhel-8.9.0.z] # For RHEL-3709 - SLOF regression prevents VM startup
Patch1: slof-virtio-serial-Make-read-and-write-methods-report-fai.patch Patch1: slof-virtio-serial-Make-read-and-write-methods-report-fai.patch
# For RHEL-15999 - SLOF regression prevents VM startup [rhel-8.9.0.z] # For RHEL-3709 - SLOF regression prevents VM startup
Patch2: slof-virtio-serial-Do-not-close-stdout-on-quiesce.patch Patch2: slof-virtio-serial-Do-not-close-stdout-on-quiesce.patch
BuildArch: noarch BuildArch: noarch
@ -60,11 +60,11 @@ install -c -m 0644 boot_rom.bin $RPM_BUILD_ROOT%{_datadir}/qemu-kvm/slof.bin
%{_datadir}/qemu-kvm/slof.bin %{_datadir}/qemu-kvm/slof.bin
%changelog %changelog
* Wed Nov 22 2023 Miroslav Rezanina <mrezanin@redhat.com> - 20210217-1.el8_9.1 * Wed Oct 04 2023 Jon Maloy <jmaloy@redhat.com> - 20210217-2.el8
- slof-virtio-serial-Make-read-and-write-methods-report-fai.patch [RHEL-15999] - slof-virtio-serial-Make-read-and-write-methods-report-fai.patch [RHEL-3709]
- slof-virtio-serial-Do-not-close-stdout-on-quiesce.patch [RHEL-15999] - slof-virtio-serial-Do-not-close-stdout-on-quiesce.patch [RHEL-3709]
- Resolves: RHEL-15999 - Resolves: RHEL-3709
(SLOF regression prevents VM startup [rhel-8.9.0.z]) (SLOF regression prevents VM startup)
* Thu Sep 2 2021 Danilo C. L. de Paula <ddepaula@redhat.com> - 20210217-1.el8 * Thu Sep 2 2021 Danilo C. L. de Paula <ddepaula@redhat.com> - 20210217-1.el8
- Resolves: bz#2000225 - Resolves: bz#2000225

Loading…
Cancel
Save