]>
Commit | Line | Data |
---|---|---|
3dcc8d3b | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
c53dfb57 WB |
2 | From: "Dr. David Alan Gilbert" <dgilbert@redhat.com> |
3 | Date: Fri, 4 Aug 2017 12:33:29 +0100 | |
3dcc8d3b | 4 | Subject: [PATCH] vga/migration: Update memory map in post_load |
c53dfb57 WB |
5 | |
6 | After migration the chain4 alias mapping added by 80763888 (in 2011) | |
7 | might be missing, since there's no call to vga_update_memory_access | |
8 | in the post_load after the registers are updated. Add it back. | |
9 | ||
10 | Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> | |
11 | Reviewed-by: Juan Quintela <quintela@redhat.com> | |
12 | Message-id: 20170804113329.13609-1-dgilbert@redhat.com | |
13 | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> | |
14 | --- | |
15 | hw/display/vga.c | 1 + | |
16 | 1 file changed, 1 insertion(+) | |
17 | ||
18 | diff --git a/hw/display/vga.c b/hw/display/vga.c | |
19 | index 13e4a5d55d..a99d831e04 100644 | |
20 | --- a/hw/display/vga.c | |
21 | +++ b/hw/display/vga.c | |
22 | @@ -2050,6 +2050,7 @@ static int vga_common_post_load(void *opaque, int version_id) | |
23 | /* force refresh */ | |
24 | s->graphic_mode = -1; | |
25 | vbe_update_vgaregs(s); | |
26 | + vga_update_memory_access(s); | |
27 | return 0; | |
28 | } | |
29 | ||
30 | -- | |
31 | 2.11.0 | |
32 |