yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-pc-bios-s390-ccw-main-Remove-superfluous-call-to-ena.patch

8fced6
From 541d06b7dc1cd3ad4722850f3a7f5df12b8d6fba Mon Sep 17 00:00:00 2001
8fced6
From: Thomas Huth <thuth@redhat.com>
8fced6
Date: Fri, 9 Oct 2020 10:08:48 -0400
8fced6
Subject: [PATCH 12/14] pc-bios/s390-ccw/main: Remove superfluous call to
8fced6
 enable_subchannel()
8fced6
8fced6
RH-Author: Thomas Huth <thuth@redhat.com>
8fced6
Message-id: <20201009100849.264994-9-thuth@redhat.com>
8fced6
Patchwork-id: 98602
8fced6
O-Subject: [RHEL-8.4.0 qemu-kvm PATCH 8/9] pc-bios/s390-ccw/main: Remove superfluous call to enable_subchannel()
8fced6
Bugzilla: 1846975
8fced6
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
8fced6
RH-Acked-by: David Hildenbrand <david@redhat.com>
8fced6
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
8fced6
8fced6
enable_subchannel() is already done during is_dev_possibly_bootable()
8fced6
(which is called from find_boot_device() -> find_subch()), so there
8fced6
is no need to do this again in the main() function.
8fced6
8fced6
Message-Id: <20200806105349.632-9-thuth@redhat.com>
8fced6
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
8fced6
Signed-off-by: Thomas Huth <thuth@redhat.com>
8fced6
(cherry picked from commit 49d4388ec03fd8c7701b907a4e11c437a28f8572)
8fced6
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
8fced6
---
8fced6
 pc-bios/s390-ccw/main.c | 1 -
8fced6
 1 file changed, 1 deletion(-)
8fced6
8fced6
diff --git a/pc-bios/s390-ccw/main.c b/pc-bios/s390-ccw/main.c
8fced6
index b5c721c395..e3a1a3053d 100644
8fced6
--- a/pc-bios/s390-ccw/main.c
8fced6
+++ b/pc-bios/s390-ccw/main.c
8fced6
@@ -289,7 +289,6 @@ int main(void)
8fced6
     boot_setup();
8fced6
     if (have_iplb) {
8fced6
         find_boot_device();
8fced6
-        enable_subchannel(blk_schid);
8fced6
         ipl_boot_device();
8fced6
     } else {
8fced6
         probe_boot_device();
8fced6
-- 
8fced6
2.27.0
8fced6