aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-14 15:33:26 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:55 -0500
commitb857ca455393ccdea995cc954668dca6d1df4164 (patch)
tree5eaa493b183563e3b97f76a7d1043397cc31487a
parentc63a5886f07dabec640b9035ec67b8b501bcd2a8 (diff)
downloadqemu-b857ca455393ccdea995cc954668dca6d1df4164.zip
qemu-b857ca455393ccdea995cc954668dca6d1df4164.tar.gz
qemu-b857ca455393ccdea995cc954668dca6d1df4164.tar.bz2
vga: port vga-isa to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/vga-isa.c2
1 files changed, 1 insertions, 1 deletions
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);