vga: port vga-isa to vmstate

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela 2009-10-14 15:33:26 +02:00 committed by Anthony Liguori
parent c63a5886f0
commit b857ca4553

View 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);