summaryrefslogtreecommitdiff
path: root/hw/vmware_vga.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-24 18:42:47 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:46:59 -0500
commita4a2f59cda3c88eb647d651e0e0c5f1933b646b3 (patch)
tree114ea42fce8d066b36ceaffeee509fc6e81c9043 /hw/vmware_vga.c
parent2191dffcf6ba7df884ac902e829415d55a0b2b68 (diff)
downloadqemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.tar.gz
qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.tar.bz2
qemu-a4a2f59cda3c88eb647d651e0e0c5f1933b646b3.zip
Everything outside of vga.c should use VGACommonState
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r--hw/vmware_vga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index a6c6dc6c5e..c6bce5a826 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -1129,8 +1129,8 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
vmsvga_reset(s);
#ifdef EMBED_STDVGA
- vga_common_init((VGAState *) s, vga_ram_size);
- vga_init((VGAState *) s);
+ vga_common_init(&s->vga, vga_ram_size);
+ vga_init(&s->vga);
#else
s->vram_size = vga_ram_size;
s->vram_offset = qemu_ram_alloc(vga_ram_size);