modules: add have_vga
commit48ecfbf12c1f51281aaabaf8e03494291a18862c
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 30 Apr 2021 11:35:46 +0000 (30 13:35 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 May 2021 11:55:28 +0000 (10 13:55 +0200)
tree15840c5c2506cae5570d7fe3cf5731e85e79eb24
parent17cdac0b51bc4ad7a68c3e5e0b1718729b74d512
modules: add have_vga

Introduce a symbol which can be used to prevent display modules which
need vga support being loaded into system emulators with CONFIG_VGA=n.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20210430113547.1816178-1-kraxel@redhat.com
Message-Id: <20210430113547.1816178-16-kraxel@redhat.com>
hw/display/vga.c
include/hw/display/vga.h