qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PULL 5/6] vga/migration: Update memory map in post_load
Date: Wed, 13 Sep 2017 09:41:39 +0200	[thread overview]
Message-ID: <20170913074140.5160-6-kraxel@redhat.com> (raw)
In-Reply-To: <20170913074140.5160-1-kraxel@redhat.com>

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>
Message-id: 20170804113329.13609-1-dgilbert@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@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 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;
 }
 
-- 
2.9.3

  parent reply	other threads:[~2017-09-13  7:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13  7:41 [Qemu-devel] [PULL 0/6] Vga 20170913 patches Gerd Hoffmann
2017-09-13  7:41 ` [Qemu-devel] [PULL 1/6] vga: fix display update region calculation (split screen) Gerd Hoffmann
2017-10-10 12:41   ` Peter Maydell
2017-09-13  7:41 ` [Qemu-devel] [PULL 2/6] vga: stop passing pointers to vga_draw_line* functions Gerd Hoffmann
2017-09-13  7:41 ` [Qemu-devel] [PULL 3/6] qxl: drop mono cursor support Gerd Hoffmann
2017-09-13  7:41 ` [Qemu-devel] [PULL 4/6] qxl: add support for chunked cursors Gerd Hoffmann
2017-09-13  7:41 ` Gerd Hoffmann [this message]
2017-09-13  7:41 ` [Qemu-devel] [PULL 6/6] virtio-gpu: don't clear QemuUIInfo information on reset Gerd Hoffmann
2017-09-14 12:43 ` [Qemu-devel] [PULL 0/6] Vga 20170913 patches Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170913074140.5160-6-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).