summaryrefslogtreecommitdiffstats
path: root/hw/display/vmware_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/vmware_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/vmware_vga.c')
-rw-r--r--hw/display/vmware_vga.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
index 23dc8910cc..ead754eccf 100644
--- a/hw/display/vmware_vga.c
+++ b/hw/display/vmware_vga.c
@@ -1312,11 +1312,6 @@ static void pci_vmsvga_realize(PCIDevice *dev, Error **errp)
&s->chip.vga.vram);
pci_register_bar(dev, 2, PCI_BASE_ADDRESS_MEM_PREFETCH,
&s->chip.fifo_ram);
-
- if (!dev->rom_bar) {
- /* compatibility with pc-0.13 and older */
- vga_init_vbe(&s->chip.vga, OBJECT(dev), pci_address_space(dev));
- }
}
static Property vga_vmware_properties[] = {