summaryrefslogtreecommitdiffstats
path: root/hw/display/vga.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2017-08-04 13:33:29 +0200
committerGerd Hoffmann2017-09-01 13:52:43 +0200
commit138bc2df843105edb22978284fc2e16307f16211 (patch)
tree073c2875d0b03a1675345459610085326bba2218 /hw/display/vga.c
parentqxl: add support for chunked cursors. (diff)
downloadqemu-138bc2df843105edb22978284fc2e16307f16211.tar.gz
qemu-138bc2df843105edb22978284fc2e16307f16211.tar.xz
qemu-138bc2df843105edb22978284fc2e16307f16211.zip
vga/migration: Update memory map in post_load
After migration the chain4 alias mapping added by 80763888 (in 2011) might be missing, since there's no call to vga_update_memory_access in the post_load after the registers are updated. Add it back. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-id: 20170804113329.13609-1-dgilbert@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga.c')
-rw-r--r--hw/display/vga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/vga.c b/hw/display/vga.c
index 6fc8c8708a..ed24ef7076 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -2050,6 +2050,7 @@ static int vga_common_post_load(void *opaque, int version_id)
/* force refresh */
s->graphic_mode = -1;
vbe_update_vgaregs(s);
+ vga_update_memory_access(s);
return 0;
}