qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Avi Kivity <avi@redhat.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: [Qemu-devel] Re: [PATCH] Fix display breakage when resizing the screen
Date: Sun, 05 Apr 2009 08:44:34 -0500	[thread overview]
Message-ID: <49D8B5C2.4090901@codemonkey.ws> (raw)
In-Reply-To: <1238842115-31236-1-git-send-email-avi@redhat.com>

Avi Kivity wrote:
> When the vga resolution changes, a new display surface is not allocated
> immediately; instead that is deferred until the next update.  However,
> if we're running without a display client attached, that won't happen
> and the next bitblt is likely to cause a segfault by overflowing the
> display surface.
>
> Fix by reallocating the display immediately when the resolution changes.
>
> Tested with (Windows|Linux) x (cirrus|std) x (curses|sdl).
>
> Signed-off-by: Avi Kivity <avi@redhat.com

This patch breaks VC switching with -curses.

Regards,

Anthony Liguori

  reply	other threads:[~2009-04-05 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-04 10:48 [Qemu-devel] [PATCH] Fix display breakage when resizing the screen Avi Kivity
2009-04-05 13:44 ` Anthony Liguori [this message]
2009-04-05 15:28   ` [Qemu-devel] " Avi Kivity
2009-04-05 15:35   ` Avi Kivity

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=49D8B5C2.4090901@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --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).