Patchwork [05/16] vga: port vga-isa to vmstate

login
register
mail settings
Submitter Juan Quintela
Date Oct. 14, 2009, 5:34 p.m.
Message ID <279fc2160b3681eba2a6f88c811683ec50a01c01.1255541443.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/36006/
State New
Headers show

Comments

Juan Quintela - Oct. 14, 2009, 5:34 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/vga-isa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index 7fa31d3..801121a 100644
--- a/hw/vga-isa.c
+++ b/hw/vga-isa.c
@@ -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);