]> git.proxmox.com Git - qemu.git/commitdiff
vga: port vga-isa to vmstate
authorJuan Quintela <quintela@redhat.com>
Wed, 14 Oct 2009 13:33:26 +0000 (15:33 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:55 +0000 (12:28 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vga-isa.c

index 7fa31d374bfc461c8a18833b7f4af241b03220e0..801121ae5537b284a5d0886824b530aac6cdceaf 100644 (file)
@@ -36,7 +36,7 @@ int isa_vga_init(void)
 
     vga_common_init(s, VGA_RAM_SIZE);
     vga_init(s);
-    register_savevm("vga", 0, 2, vga_common_save, vga_common_load, s);
+    vmstate_register(0, &vmstate_vga_common, s);
 
     s->ds = graphic_console_init(s->update, s->invalidate,
                                  s->screen_dump, s->text_update, s);