diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-08-04 12:33:29 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-09-01 13:52:43 +0200 |
commit | 138bc2df843105edb22978284fc2e16307f16211 (patch) | |
tree | 073c2875d0b03a1675345459610085326bba2218 /hw/display | |
parent | b21330b513365a83aa808a27da1ebe53f8f10c3c (diff) |
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')
-rw-r--r-- | hw/display/vga.c | 1 |
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; } |