projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b857ca4
)
vga: port vmware std vga to vmstate
author
Juan Quintela
<quintela@redhat.com>
Wed, 14 Oct 2009 13:33:46 +0000
(15:33 +0200)
committer
Anthony 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/vmware_vga.c
patch
|
blob
|
history
diff --git
a/hw/vmware_vga.c
b/hw/vmware_vga.c
index
a273f35
..
101d8ae
100644
(file)
--- a/
hw/vmware_vga.c
+++ b/
hw/vmware_vga.c
@@
-1131,7
+1131,7
@@
static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
#ifdef EMBED_STDVGA
vga_common_init(&s->vga, vga_ram_size);
vga_init(&s->vga);
-
register_savevm("vga", 0, 2, vga_common_save, vga_common_load
, &s->vga);
+
vmstate_register(0, &vmstate_vga_common
, &s->vga);
#else
s->vram_size = vga_ram_size;
s->vram_offset = qemu_ram_alloc(vga_ram_size);