aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-14 15:33:46 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:55 -0500
commitf74599c49931700fefc865b076876101ce7745e1 (patch)
tree716752505d9ee5e0719942143b3e143f01069719
parentb857ca455393ccdea995cc954668dca6d1df4164 (diff)
downloadqemu-f74599c49931700fefc865b076876101ce7745e1.zip
qemu-f74599c49931700fefc865b076876101ce7745e1.tar.gz
qemu-f74599c49931700fefc865b076876101ce7745e1.tar.bz2
vga: port vmware std vga to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/vmware_vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index a273f35..101d8ae 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -1131,7 +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);
+ vmstate_register(0, &vmstate_vga_common, &s->vga);
#else
s->vram_size = vga_ram_size;
s->vram_offset = qemu_ram_alloc(vga_ram_size);