Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZqtQ-0005ae-8O for qemu-devel@nongnu.org; Mon, 24 Sep 2007 12:34:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZqtO-0005YE-GZ for qemu-devel@nongnu.org; Mon, 24 Sep 2007 12:34:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZqtO-0005Y5-9c for qemu-devel@nongnu.org; Mon, 24 Sep 2007 12:34:42 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IZqtN-0002DG-Df for qemu-devel@nongnu.org; Mon, 24 Sep 2007 12:34:41 -0400 From: Clemens Kolbitsch Subject: Re: [Qemu-devel] view qemu output/console Date: Mon, 24 Sep 2007 18:34:38 +0200 References: <20070921061109.16713gmx1@mx026.gmx.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709241834.38249.clemens.kol@gmx.at> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: andrzej zaborowski Cc: qemu-devel@nongnu.org On Monday 24 September 2007 18:11:04 andrzej zaborowski wrote: > On 24/09/2007, Johannes Schindelin wrote: > > On Mon, 24 Sep 2007, Clemens Kolbitsch wrote: > > > when the kernel crashes, it displayes the message, however as it is way > > > much more information that can be displayed in the qemu window, i only > > > see the last 20-something lines. as the crash is fatal, no entries are > > > made to the log-files and i have not succeeded redirecting output to my > > > console (using the -nographic option) as my linux does not boot > > > correctly then. > > > > If your host is not windows, you can use the "-monitor stdio" option to > > output monitor information on the console you start QEmu in. > > AIUI Clemens wants to redirect the VGA console output, not QEmu > monitor. exactly... > One idea is to dig out my ncurses interface patch (I believe > debian has a version that applies to post-9.0 qemu, and if you're on > debian just use the "-curses" switch), then GNU screen would let you > log all VGA console output to a file. ok... i'll give it a try!! thanks :-) > Another idea is to set a > breakpoint at the guest printk() address. that was my first approach.. however as I don't have the uncompressed linux image, i don't know what to connect gdb to :-( can i simply uncompress the kernel-file??