qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 2.11] vga/migration: Update memory map in post_load
@ 2017-08-04 11:33 Dr. David Alan Gilbert (git)
  2017-08-08  7:12 ` Juan Quintela
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2017-08-04 11:33 UTC (permalink / raw)
  To: qemu-devel, kraxel, jan.kiszka; +Cc: quintela, maxime.coquelin

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

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>
---
 hw/display/vga.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/display/vga.c b/hw/display/vga.c
index 63421f9ee8..5d3848a37e 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -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;
 }
 
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH for 2.11] vga/migration: Update memory map in post_load
  2017-08-04 11:33 [Qemu-devel] [PATCH for 2.11] vga/migration: Update memory map in post_load Dr. David Alan Gilbert (git)
@ 2017-08-08  7:12 ` Juan Quintela
  0 siblings, 0 replies; 2+ messages in thread
From: Juan Quintela @ 2017-08-08  7:12 UTC (permalink / raw)
  To: Dr. David Alan Gilbert (git)
  Cc: qemu-devel, kraxel, jan.kiszka, maxime.coquelin

"Dr. David Alan Gilbert (git)" <dgilbert@redhat.com> wrote:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> 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>

Interesting looking at vga_update_memory_access() from 80763888 and what
is currently there O:-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-08  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-04 11:33 [Qemu-devel] [PATCH for 2.11] vga/migration: Update memory map in post_load Dr. David Alan Gilbert (git)
2017-08-08  7:12 ` Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).