On 9/30/24 8:32 AM, Thomas Huth wrote:
On 27/09/2024 02.51, jro...@linux.ibm.com wrote:
From: Jared Rossi <jro...@linux.ibm.com>

  -/*
- * No boot device has been specified, so we have to scan through the
- * channels to find one.
- */
-static void probe_boot_device(void)
-{
-    int ssid, sch_no, ret;
-
-    for (ssid = 0; ssid < 0x3; ssid++) {
-        blk_schid.ssid = ssid;
-        for (sch_no = 0; sch_no < 0x10000; sch_no++) {
-            ret = is_dev_possibly_bootable(-1, sch_no);
-            if (ret < 0) {
-                break;
-            }
-            if (ret == true) {
-                ipl_boot_device(); /* Only returns if unsuccessful */
-                return;
-            }
-        }
-    }
-
-    puts("Could not find a suitable boot device (none specified)");
-}
-

...

Can we please keep the possibility to boot from any device (i.e. the probe_boot_device() stuff), in case the user did not specify any boot index property at all?

 Thanks,
  Thomas


Yes, I’ll restore it.

Jared Rossi

Reply via email to