diff options
author | Dr. David Alan Gilbert | 2017-08-04 13:33:29 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2017-09-01 13:52:43 +0200 |
commit | 138bc2df843105edb22978284fc2e16307f16211 (patch) | |
tree | 073c2875d0b03a1675345459610085326bba2218 /hw/display/vga.c | |
parent | qxl: add support for chunked cursors. (diff) | |
download | qemu-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.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; } |