pc-bios/s390-ccw: Abort IPL on invalid loadparm
authorJared Rossi <jrossi@linux.ibm.com>
Fri, 17 Jan 2025 21:22:35 +0000 (16:22 -0500)
committerThomas Huth <thuth@redhat.com>
Wed, 22 Jan 2025 07:28:49 +0000 (08:28 +0100)
commit64fa0de46ee3cc972af5d3ce8c5dc0db8198cd2b
treec09153dc5549ce602596cea88255a6938f94a084
parentbbfa7f8558d5346b6884108ad50df3517fe17358
pc-bios/s390-ccw: Abort IPL on invalid loadparm

Because the loadparm specifies an exact kernel the user wants to boot, if the
loadparm is invalid it must represent a misconfiguration of the guest. Thus we
should abort the IPL immediately, without attempting to use other devices, to
avoid booting into an unintended guest image.

Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
Message-ID: <20250117212235.1324063-2-jrossi@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/bootmap.c