Last time I checked, SeaBIOS required 1MiB of RAM, and the failure
modes were mean.
Back then, I asked whether we should enforce a suitable minimum RAM
size. Peter Maydell replied that modelling RAM constraints involves
an expedition into the Generality Swamps, and wished me better luck than
Four and a half years later, the failure modes are as mean as ever. For
$ qemu-system-x86_64 --nodefaults -device VGA -m 640k
simply hangs for me, and
$ qemu-system-x86_64 --nodefaults -device VGA -m 16k
crashes with "qemu: fatal: Trying to execute code outside RAM or ROM at
0x0000000000004000" and a register dump with TCG, or the even less
helpful "KVM internal error. Suberror: 1" with KVM.
Waiting for "someone" to design and implement the completely general
solution has had the predictable result: nothing.
Are we now ready to accept a simple & stupid patch that actually helps
users, say letting boards that care declare minimum and maximum RAM
size? And make PC reject RAM size less than 1MiB, even though "someone"
might conceivably have firmware that works with less?
 Message-ID: <87fw7xwqkq.fsf(a)blackfin.pond.sub.org>
 Message-ID: <87wr1921rd.fsf(a)blackfin.pond.sub.org>