hw/display/cirrus_vga: Move "isa-cirrus-vga" device into a separate file
commitce3cf70edaaf1b8f9a566b36011350c642287879
authorThomas Huth <thuth@redhat.com>
Fri, 12 Oct 2018 10:11:46 +0000 (12 12:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 15 Oct 2018 07:57:33 +0000 (15 09:57 +0200)
tree63355bf16dee36540e01b386da31285e9dcc255d
parent715eb05b782a99e482f2ac02b24fbf2b9a1e5fe2
hw/display/cirrus_vga: Move "isa-cirrus-vga" device into a separate file

In downstream distros like RHEL we'd like to disable some of the "legacy"
devices of QEMU. The ISA version of the Cirrus VGA device is one of these
legacy devices. So let's make the build process a little bit more flexible
here by putting the Cirrus ISA code into a separate file which is only
included if both, CONFIG_VGA_CIRRUS and CONFIG_VGA_ISA are set.

Note that this disables "isa-cirrus-vga" for the ppc-softmmu and the
alpha-softmmu target since CONFIG_VGA_ISA is not set there. But I think
this is OK since these targets are only interested in the PCI variant
anyway.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1539339106-32427-1-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/Makefile.objs
hw/display/cirrus_vga.c
hw/display/cirrus_vga_internal.h [new file with mode: 0644]
hw/display/cirrus_vga_isa.c [new file with mode: 0644]