diff options
author | Juan Quintela | 2009-08-31 16:07:14 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-09-09 21:55:11 +0200 |
commit | 0d65ddc3847ff3676f91907f2d6de6585d4d42fd (patch) | |
tree | e69db44ff8c1c17d8abb051f4a1d8ffda9e0abcf /hw/vmware_vga.c | |
parent | vga: export vga_ioport_{read,write} (diff) | |
download | qemu-0d65ddc3847ff3676f91907f2d6de6585d4d42fd.tar.gz qemu-0d65ddc3847ff3676f91907f2d6de6585d4d42fd.tar.xz qemu-0d65ddc3847ff3676f91907f2d6de6585d4d42fd.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index c6bce5a826..a273f35930 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); |