]> git.ipfire.org Git - thirdparty/qemu.git/commit
softmmu/vl.c: Check for the availability of the VGA device before using it
authorThomas Huth <thuth@redhat.com>
Wed, 10 May 2023 16:54:33 +0000 (18:54 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:39:15 +0000 (09:39 +0200)
commitd563cc84cdc599c3fbd40b36d6b71411e008b039
treed25ed59d54bd46f696ae847f6ba44b030f895ad5
parentd11b791890b17d3e80e31aae5028660f41c1b58b
softmmu/vl.c: Check for the availability of the VGA device before using it

In case the user disabled the default VGA device in the binary (e.g.
with the "--without-default-devices" configure switch), we should
not try to use it by default if QEMU is running with the default
devices, otherwise it aborts when trying to use it. Simply emit a
warning instead.

Message-Id: <20230512124033.502654-3-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
softmmu/vl.c