From: Juan Quintela Date: Wed, 14 Oct 2009 13:33:26 +0000 (+0200) Subject: vga: port vga-isa to vmstate X-Git-Tag: v0.12.0-rc0~511 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b857ca455393ccdea995cc954668dca6d1df4164;p=thirdparty%2Fqemu.git vga: port vga-isa to vmstate Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/hw/vga-isa.c b/hw/vga-isa.c index 7fa31d374bf..801121ae553 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);