]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: switch to use -M graphics=off instead of -device sga
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 Sep 2021 17:12:58 +0000 (18:12 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 9 Sep 2021 15:17:30 +0000 (16:17 +0100)
commit40dfef297a4a03be11a82ba6911bb08905504690
tree875cdeade9b35e2650d1ad1a9f9dbe5fbbc91d8d
parent58dfbca51da64229dcc18878c1194b46677b5075
qemu: switch to use -M graphics=off instead of -device sga

SeaBIOS >= 1.11 has built-in support for outputting to the serial
console when QEMU sets -M graphics=off. Our minimum QEMU version
is 2.11.0, which bundled SeaBIOS 1.11. Thus we have no need to
use '-device sga' anymore.

This change results in a slight layout difference for option ROMs
in memory, however, it does not affect the migration data stream
format on the wire and once migration is complete the target QEMU
memory layout for ROMs matches the source QEMU once again.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/bios.args
tests/qemuxml2argvtest.c