From 931ea4353032643a0324fd6e080f38c464db1ec0 Mon Sep 17 00:00:00 2001 From: balrog Date: Wed, 16 Jul 2008 04:38:32 +0000 Subject: [PATCH] Make Bochs VBE work with VMWare SVGA (malc). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4873 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/vmware_vga.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 38bac13b50..a43510499e 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1133,6 +1133,12 @@ static void vmsvga_init(struct vmsvga_state_s *s, DisplayState *ds, vmsvga_invalidate_display, vmsvga_screen_dump, vmsvga_text_update, s); + +#ifdef CONFIG_BOCHS_VBE + /* XXX: use optimized standard vga accesses */ + cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS, + vga_ram_size, vga_ram_offset); +#endif } static void pci_vmsvga_save(QEMUFile *f, void *opaque)