From: Dr. David Alan Gilbert Date: Fri, 4 Aug 2017 11:33:29 +0000 (+0100) Subject: vga/migration: Update memory map in post_load X-Git-Tag: v2.11.0-rc0~112^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=138bc2df843105edb22978284fc2e16307f16211;p=thirdparty%2Fqemu.git 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 Reviewed-by: Juan Quintela Message-id: 20170804113329.13609-1-dgilbert@redhat.com Signed-off-by: Gerd Hoffmann --- diff --git a/hw/display/vga.c b/hw/display/vga.c index 6fc8c8708a2..ed24ef7076e 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; }