From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1O8G-0008DG-K1 for qemu-devel@nongnu.org; Wed, 07 Sep 2011 15:50:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1O8F-000634-A4 for qemu-devel@nongnu.org; Wed, 07 Sep 2011 15:50:00 -0400 Received: from citadel.icyb.net.ua ([212.40.38.140]:1198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1O8E-00062P-Qb for qemu-devel@nongnu.org; Wed, 07 Sep 2011 15:49:59 -0400 Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA21185 for ; Wed, 07 Sep 2011 22:49:54 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1R1O8A-0005Hy-Fk for qemu-devel@nongnu.org; Wed, 07 Sep 2011 22:49:54 +0300 Message-ID: <4E67CAE0.3000907@FreeBSD.org> Date: Wed, 07 Sep 2011 22:49:52 +0300 From: Andriy Gapon MIME-Version: 1.0 References: <4E5D14D6.9000405@FreeBSD.org> In-Reply-To: <4E5D14D6.9000405@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] broken screendump for text mode? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org on 30/08/2011 19:50 Andriy Gapon said the following: > > I use Qemu 0.15.0 (via a FreeBSD qemu-devel-0.15.0 port) and observe the following > problem with the screendump command. > > Environment: > - qemu started with a standard vga adapter emulation (not sure if this important) > - SDL interface is used (not sure if this important) > - guest operating system uses the text mode > - monitor console is activated with Ctrl+Alt+2 > - screendump command is executed in the monitor console > > I observe the following effects in this case: > - contents of the guest screen is "dumped" over the monitoring console > - produced ppm file has only a single top-most line (of characters) from the guest > screen > > It seems that the problem is caused in the vga_draw_text function in hw/vga.c. > The problem is that the dpy_update function is called for each line of text and > only the first of such calls produces the ppm output. > > Perhaps in the case when full_update is true there should only be a single > dpy_update call for the whole screen. I think that this should produce a complete > screen dump. Not sure if that would help with the guest screen contents being > draw over the monitor console. I have to guess that this issue is not of interest to the active qemu developers? I will try to look into it some time myself, because I find the feature to be useful from time to time (if it worked). -- Andriy Gapon