All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH 1 of 2 ] qemu-remote: fix cirrus_vga_load
Date: Wed, 15 Oct 2008 18:03:44 +0100	[thread overview]
Message-ID: <48F62270.7050705@eu.citrix.com> (raw)

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

---

diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 8e1bbc3..e1c18e2 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -3214,6 +3214,11 @@ static int cirrus_vga_load(QEMUFile *f, void *opaque, int version_id)
             xen_vga_populate_vram(s->lfb_addr);
         } else
             xen_vga_vram_map(vga_acc ? s->lfb_addr : s->stolen_vram_addr, 0);
+
+        if (vga_acc) {
+            s->map_addr = s->lfb_addr;
+            s->map_end = s->lfb_end;
+        }
     } else {
         /* Old image, we have to populate and restore VRAM ourselves */
         xen_vga_populate_vram(s->lfb_addr);

                 reply	other threads:[~2008-10-15 17:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=48F62270.7050705@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.