On 02/11/2017 17:11, Daniel P. Berrange wrote:
Historically libvirt will always use '-device sgabios' if the user has requested <bios useserial='yes'/>. So if that -device arg is given, I think QEMU must honour it, which implies QEMU must disable Seabios' own built-in serial console impl in that scenario.
We should also change libvirt to produce
-device sga (if sga supported) -machine graphics=off (if -machine graphics supported)
On old QEMU, -machine graphics=off will be ignored. On new QEMU and/or SeaBIOS, we should ensure that specifying both has the right effect.
Paolo