summaryrefslogtreecommitdiffstats
path: root/hw/display/vga.c
diff options
context:
space:
mode:
authorThomas Huth2019-12-09 13:52:48 +0100
committerPaolo Bonzini2019-12-18 02:34:12 +0100
commit97d8381543647887bc2997ecfeccc67831e47fdc (patch)
tree048cc0bc4e76e57afcff24ace0e3a34cf3ed64d5 /hw/display/vga.c
parenthw/pci: Remove the "command_serr_enable" property (diff)
downloadqemu-97d8381543647887bc2997ecfeccc67831e47fdc.tar.gz
qemu-97d8381543647887bc2997ecfeccc67831e47fdc.tar.xz
qemu-97d8381543647887bc2997ecfeccc67831e47fdc.zip
hw/display: Remove "rombar" hack from vga-pci and vmware_vga
Now that the old pc-0.x machine types have been removed, we do not need the old "rombar" hacks anymore. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20191209125248.5849-5-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vga.c')
-rw-r--r--hw/display/vga.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 82ebe53610..636586a476 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -2304,9 +2304,7 @@ void vga_init(VGACommonState *s, Object *obj, MemoryRegion *address_space,
void vga_init_vbe(VGACommonState *s, Object *obj, MemoryRegion *system_memory)
{
- /* With pc-0.12 and below we map both the PCI BAR and the fixed VBE region,
- * so use an alias to avoid double-mapping the same region.
- */
+ /* Use an alias to avoid double-mapping the same region */
memory_region_init_alias(&s->vram_vbe, obj, "vram.vbe",
&s->vram, 0, memory_region_size(&s->vram));
/* XXX: use optimized standard vga accesses */