aboutsummaryrefslogtreecommitdiff
path: root/hw/vmware_vga.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-31 16:07:14 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 14:55:11 -0500
commit0d65ddc3847ff3676f91907f2d6de6585d4d42fd (patch)
treee69db44ff8c1c17d8abb051f4a1d8ffda9e0abcf /hw/vmware_vga.c
parent43bf782b1aebf40e79a48062eccd8ada9e211ee9 (diff)
downloadqemu-0d65ddc3847ff3676f91907f2d6de6585d4d42fd.zip
qemu-0d65ddc3847ff3676f91907f2d6de6585d4d42fd.tar.gz
qemu-0d65ddc3847ff3676f91907f2d6de6585d4d42fd.tar.bz2
vga: split vga_{load, save} into pci and common parts
Once there adjust VGAState <-> VGACommonState Export vga_common_save/vga_common_load (nreeded by wmvare_vga Remove vga.pci_dev field, it is not needed anymore 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index c6bce5a..a273f35 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -1131,6 +1131,7 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
#ifdef EMBED_STDVGA
vga_common_init(&s->vga, vga_ram_size);
vga_init(&s->vga);
+ register_savevm("vga", 0, 2, vga_common_save, vga_common_load, &s->vga);
#else
s->vram_size = vga_ram_size;
s->vram_offset = qemu_ram_alloc(vga_ram_size);