Commit 931ea4353032643a0324fd6e080f38c464db1ec0

Authored by balrog
1 parent 4fb3fbc2

Make Bochs VBE work with VMWare SVGA (malc).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4873 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 6 additions and 0 deletions
hw/vmware_vga.c
... ... @@ -1133,6 +1133,12 @@ static void vmsvga_init(struct vmsvga_state_s *s, DisplayState *ds,
1133 1133 vmsvga_invalidate_display,
1134 1134 vmsvga_screen_dump,
1135 1135 vmsvga_text_update, s);
  1136 +
  1137 +#ifdef CONFIG_BOCHS_VBE
  1138 + /* XXX: use optimized standard vga accesses */
  1139 + cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
  1140 + vga_ram_size, vga_ram_offset);
  1141 +#endif
1136 1142 }
1137 1143  
1138 1144 static void pci_vmsvga_save(QEMUFile *f, void *opaque)
... ...