Skip to contentSkip to conversation

[4871] Initialize the VMware VGA console after vga_init (Alexander Graf).

Qemu-devel Andrzej Zaborowski 1 participant 1 message Jul 16, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4871

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4871
Author:   balrog
Date:     2008-07-16 04:31:20 +0000 (Wed, 16 Jul 2008)

Log Message:
-----------
Initialize the VMware VGA console after vga_init (Alexander Graf).

Modified Paths:
--------------
trunk/hw/vmware_vga.c

Modified: trunk/hw/vmware_vga.c
===================================================================

hw/vmware_vga.c +5 -5
@@ -1123,16 +1123,16 @@
 
     vmsvga_reset(s);
 
-    s->console = graphic_console_init(ds, vmsvga_update_display,
-                                      vmsvga_invalidate_display,
-                                      vmsvga_screen_dump,
-                                      vmsvga_text_update, s);
-
 #ifdef EMBED_STDVGA
     vga_common_init((VGAState *) s, ds,
                     vga_ram_base, vga_ram_offset, vga_ram_size);
     vga_init((VGAState *) s);
 #endif
+
+    s->console = graphic_console_init(ds, vmsvga_update_display,
+                                      vmsvga_invalidate_display,
+                                      vmsvga_screen_dump,
+                                      vmsvga_text_update, s);
 }
 
 static void pci_vmsvga_save(QEMUFile *f, void *opaque)