Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MarFP-0003Zt-Bt for qemu-devel@nongnu.org; Tue, 11 Aug 2009 09:18:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MarFK-0003ZF-US for qemu-devel@nongnu.org; Tue, 11 Aug 2009 09:18:38 -0400 Received: from [199.232.76.173] (port=32914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MarFK-0003ZC-Op for qemu-devel@nongnu.org; Tue, 11 Aug 2009 09:18:34 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:11748) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MarFK-0004zm-Dk for qemu-devel@nongnu.org; Tue, 11 Aug 2009 09:18:34 -0400 Date: Tue, 11 Aug 2009 14:20:05 +0100 From: Stefano Stabellini In-Reply-To: <4A815A73.2010200@redhat.com> Message-ID: References: <200908102147.n7ALlBHB029958@d03av04.boulder.ibm.com> <4A815A73.2010200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: [Qemu-devel] Re: [Qemu-commits] [COMMIT 0bd8246] vga: do not resize the screen on hw_invalidate List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Anthony Liguori , qemu-devel , Stefano Stabellini On Tue, 11 Aug 2009, Avi Kivity wrote: > On 08/11/2009 12:48 AM, Anthony Liguori wrote: > > From: Stefano Stabellini > > > > Hi all, > > currently vga always resizes the screen when vga_hw_invalidate is called > > while this is not required and all the other graphic emulators don't. > > This patch fixes it, making vga invalidate behaviour consistent with the > > other emulated devices. > > > > > > This commit causes qemu to segfault in kvm-autotest: > > #0 0x000000000043b3f9 in vga_draw_line24_32 (s1=, > d=0x7f57c3096000
, > s=0x7f57c31f6077 "", > width=) at > /home/avi/qemu-kvm/hw/vga_template.h:484 > #1 0x000000000043ec7f in vga_draw_graphic (full_update=1) at > /home/avi/qemu-kvm/hw/vga.c:1767 > #2 vga_update_display (opaque=) at > /home/avi/qemu-kvm/hw/vga.c:1864 > #3 0x00000000004cc202 in vnc_refresh (opaque=0x7f57c31f6077) at vnc.c:2120 > #4 0x000000000040a552 in qemu_run_timers () at /home/avi/qemu-kvm/vl.c:1030 > #5 main_loop_wait (timeout=) at > /home/avi/qemu-kvm/vl.c:4121 > #6 0x0000000000421faa in kvm_main_loop () at > /home/avi/qemu-kvm/qemu-kvm.c:2001 > #7 0x000000000040d2c6 in main_loop () at /home/avi/qemu-kvm/vl.c:4291 > #8 main (argc=21, argv=0x7ffff181f088, envp=) at > /home/avi/qemu-kvm/vl.c:6225 > > kvm-autotest runs the screendump command repeatedly, perhaps this will > provide a clue as to the cause. I've reverted it in qemu-kvm.git. > is the screendump taken using a vnc screendump utility or is it done by issuing the screendump command from the monitor?