vga/migration: Update memory map in post_load
PATCH 1/1 vga/migration: Update memory map in post_load
From: "Dr. David Alan Gilbert" <[email protected]>
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 <[email protected]>
--- hw/display/vga.c | 1 + 1 file changed, 1 insertion(+)
hw/display/vga.c +1 -0
@@ -2044,6 +2044,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 ; }
Signature · 1 line
2.13.3
Quoted 7 lines · Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" <[email protected]>
After migration the chain4 alias mapping added by 80763888 (in 2011) might be missing, since there's no call to
vga_update_memory_accessin thepost_loadafter the registers are updated. Add it back.Signed-off-by Dr. David Alan Gilbert <[email protected]>
Reviewed-by Juan Quintela <[email protected]>
Interesting looking at vga_update_memory_access() from 80763888 and what is currently there O:-)