All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Alon Levy <alevy@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qxl: create slots on post_load in vga state
Date: Thu, 27 Oct 2011 13:56:13 +0200	[thread overview]
Message-ID: <4EA946DD.40304@redhat.com> (raw)
In-Reply-To: <1319549990-26462-1-git-send-email-alevy@redhat.com>

On 10/25/11 15:39, Alon Levy wrote:
> RHBZ 740547
> 
> If we migrate when the device is in vga state the guest
> still believes the slots are created, and will cause operations
> that reference the slots, causing a "panic: virtual address out of range"
> on the first of them. Easy to see by migrating in vga mode with
> a driver loaded, for instance windows cmd window in full screen mode,
> and then exiting vga mode back to native mode will cause said panic.
> 
> Fixed by doing the slot recreation in post_load for vga mode as well.
> Note that compat does not require any changes because it creates it's
> only slot by a side effect of QXL_IO_SET_MODE.
> 
> Signed-off-by: Alon Levy <alevy@redhat.com>
> ---
> v4:
>  don't print unused delta in qxl_create_memslots
> v3:
>  no need to create slots in compat mode, they are created by qxl_set_mode.
> 

Patch added to spice patch queue.

thanks,
  Gerd

  reply	other threads:[~2011-10-27 11:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25 13:39 [Qemu-devel] [PATCH] qxl: create slots on post_load in vga state Alon Levy
2011-10-27 11:56 ` Gerd Hoffmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-25 13:05 Alon Levy
2011-10-25 13:37 ` Alon Levy

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=4EA946DD.40304@redhat.com \
    --to=kraxel@redhat.com \
    --cc=alevy@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 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.