From: Avi Kivity <avi@redhat.com>
To: qemu-devel@nongnu.org
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [6989] Fix display breakage when resizing the screen (v2) (Avi Kivity)
Date: Tue, 07 Apr 2009 12:28:06 +0300 [thread overview]
Message-ID: <49DB1CA6.4000307@redhat.com> (raw)
In-Reply-To: <20090407014407.GG11614@us.ibm.com>
Ryan Harper wrote:
> * Avi Kivity <avi@redhat.com> [2009-04-06 10:21]:
>
>> Stefano Stabellini wrote:
>>
>>> Can you please let me know a simple way to reproduce the breakage Avi
>>> was trying to fix?
>>>
>>>
>> The trigger is kvm-autotest; I think you can easily reproduce it by
>> booting a guest with vnc (unconnected), and issueing a screendump
>> through the monitor (use -monitor stdio, not on the console...) every
>> second.
>>
>
> yeah, and btw, with this patch merged into kvm-userspace as of today,
> I'm still tripping over it[1] on some guests (RHEL5.3 x86_64 install).
>
>
> 1. http://pastebin.ca/1384339
>
>
I found the real cause - vga_screen_dump() left values for the current
display resolution in s->last_width and s->last_height. This caused the
next vga_draw_graphic() to render to the 640x400 display surface it had
without resizing it.
The bug is triggered if you manage to screendump after a screen
resolution change, but before the next bitblit or console refresh. If
no vnc or sdl client is connected, that's just the next bitblt so the
window is considerably longer.
I'll follow up with a patch. Anthony, please revert 6989 before
applying it. Thanks to Stefano for pointing out the problems with the
patch.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-04-07 9:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 18:41 [Qemu-devel] [6989] Fix display breakage when resizing the screen (v2) (Avi Kivity) Anthony Liguori
2009-04-06 14:21 ` Stefano Stabellini
2009-04-06 14:29 ` Anthony Liguori
2009-04-06 14:33 ` Stefano Stabellini
2009-04-06 14:44 ` Avi Kivity
2009-04-07 1:44 ` Ryan Harper
2009-04-07 9:28 ` Avi Kivity [this message]
2009-04-07 9:32 ` Stefano Stabellini
2009-04-06 14:41 ` Avi Kivity
2009-04-06 14:53 ` Avi Kivity
2009-04-06 17:35 ` Stefano Stabellini
2009-04-06 17:46 ` Avi Kivity
2009-04-06 18:01 ` Stefano Stabellini
2009-04-06 18:32 ` 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=49DB1CA6.4000307@redhat.com \
--to=avi@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.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 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).