hw/s390x/ipl: Provide more memory to the s390-ccw.img firmware
authorThomas Huth <thuth@redhat.com>
Fri, 21 Jun 2024 08:24:17 +0000 (10:24 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 22 Oct 2024 17:46:04 +0000 (19:46 +0200)
commitabaabb2e601adfe296a64471746a997eabcc607f
tree9d29cbde1264338e2de15c323f088f0eac1bbe36
parent6f625ce2f21d6a1243065d236298277c56f972d5
hw/s390x/ipl: Provide more memory to the s390-ccw.img firmware

We are going to link the SLOF libc into the s390-ccw.img, and this
libc needs more memory for providing space for malloc() and friends.
Thus bump the memory size that we reserve for the bios to 3 MiB
instead of only 2 MiB. While we're at it, add a proper check that
there is really enough memory assigned to the machine before blindly
using it.

Message-ID: <20240621082422.136217-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/ipl.c