Skip to content

Commit

Permalink
vga/migration: Update memory map in post_load
Browse files Browse the repository at this point in the history
After migration the chain4 alias mapping added by 8076388 (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>
  • Loading branch information
dagrh authored and kraxel committed Sep 1, 2017
1 parent b21330b commit 138bc2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/display/vga.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 138bc2d

Please sign in to comment.