On Wed, Jun 13, 2018 at 10:51:55AM +0200, Gerd Hoffmann wrote:
qemu ramfb allows to place a boot framebuffer in normal ram. The ramfb vgabios needs a bigger chunk of ram for that, so increase the amout of reserved memory.
Obvious drawback is we waste the memory in case ramfb isn't used. Better ideas are welcome.
One possibility would be to detect large permanent high memory allocations in the SeaBIOS PMM interface and have it directly allocate them from the e820 map. It would be a bit of a hack though - not sure which is better.
-Kevin