On Thu, Nov 02, 2017 at 05:04:20PM +0100, Gerd Hoffmann wrote:
Hi,
One problem we have with the serial console support in seabios and sgabios: It can happen that both are activated. We'll go fix that in qemu, but that'll work for new qemu versions only, not for the old already released ones.
So I think it would be useful if seabios makes sure sgabios and serial console are not both active at the same time, i.e. in case we find "vgaroms/sgabios.bin" being present either turn off builtin serial console, or don't load sgabios (and possibly also enable builtin serial console).
I'm not sure on this one. If qemu tells seabios to load a rom, I think it really should do that.
If future versions of qemu will be changed to not request sgabios when sercon is enabled, then maybe the issue isn't large enough to worry about (it only affects no-graphics, new seabios, old qemu). If that's not safe, perhaps we should revisit how seabios enables sercon so there is no confusion.
-Kevin