From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37954 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGeWg-0000NP-K6 for qemu-devel@nongnu.org; Thu, 11 Nov 2010 16:17:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGeWf-0007WM-3u for qemu-devel@nongnu.org; Thu, 11 Nov 2010 16:17:46 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:59578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGeWe-0007W2-PU for qemu-devel@nongnu.org; Thu, 11 Nov 2010 16:17:45 -0500 Message-ID: <4CDC5D75.2040500@mail.berlios.de> Date: Thu, 11 Nov 2010 22:17:41 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Log Console Output to File References: <1289454632425616500@rkmorris.us> <4CDC2666.5000705@cisco.com> <1289507845918233500@rkmorris.us> In-Reply-To: <1289507845918233500@rkmorris.us> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Russell Morris Cc: qemu-devel@nongnu.org, "David S. Ahern" Am 11.11.2010 21:37, schrieb Russell Morris: > Hi, > > Thanks for the pointer! I tried this, but I get an error message, as > follows ... > *chardev: opening backent "stdio" failed* > *qemu: could not open serial device 'stdio': Inappropriate ioctl for > device.* > > Thoughts? Hi, I assume that you tried this (as it was suggested by an earlier mail): qemu -serial stdio -nographic ... This results in an error message for me, too: chardev: opening backend "stdio" failed qemu: could not open serial device 'stdio': No such file or directory Try this variant (which works for me): qemu -nographic ... It will redirect the serial output (first serial port) of your guest os to standard output, so you can write it to a file with the usual methods, for example this one: qemu -nographic ... | tee log.txt Regards Stefan Weil