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

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