From 97d8381543647887bc2997ecfeccc67831e47fdc Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Mon, 9 Dec 2019 13:52:48 +0100 Subject: 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 Message-Id: <20191209125248.5849-5-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- hw/display/vga-pci.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'hw/display/vga-pci.c') diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index a27b88122d..cfe095713e 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -264,11 +264,6 @@ static void pci_std_vga_realize(PCIDevice *dev, Error **errp) pci_register_bar(&d->dev, 2, PCI_BASE_ADDRESS_SPACE_MEMORY, &d->mmio); } - - if (!dev->rom_bar) { - /* compatibility with pc-0.13 and older */ - vga_init_vbe(s, OBJECT(dev), pci_address_space(dev)); - } } static void pci_std_vga_init(Object *obj) -- cgit v1.2.3-55-g7522