]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: prevent use of <bios useserial='yes'> on non-x86 arches
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 Sep 2021 16:47:40 +0000 (17:47 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 9 Sep 2021 15:17:30 +0000 (16:17 +0100)
commitc82726a46087d5422104fb9dc15756444735f285
tree6d8fe569cc8482c2c28a59d757bc34dc9d297301
parent046f1b4da08635a8a00f041cfbe5b960c90493f7
qemu: prevent use of <bios useserial='yes'> on non-x86 arches

The <bios useserial='yes'> config results in use of the '-device sga'
QEMU options. This in turn causes QEMU go load the sgabios.bin option
ROM, which contains x86 machine code. This cannot work on non-x86
arches, thus we should block the bad config.

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