From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQuGf-0000ZG-Av for qemu-devel@nongnu.org; Fri, 01 Jan 2010 22:03:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQuGa-0000Xz-FN for qemu-devel@nongnu.org; Fri, 01 Jan 2010 22:03:04 -0500 Received: from [199.232.76.173] (port=42818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQuGa-0000Xw-CM for qemu-devel@nongnu.org; Fri, 01 Jan 2010 22:03:00 -0500 Received: from terminus.zytor.com ([198.137.202.10]:52974) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQuGZ-0005A8-Qo for qemu-devel@nongnu.org; Fri, 01 Jan 2010 22:03:00 -0500 Message-ID: <4B3EB71F.2020203@zytor.com> Date: Fri, 01 Jan 2010 19:01:51 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] debugcon: support for debugging consoles (e.g. Bochs port 0xe9) References: <1262123496-12007-1-git-send-email-hpa@linux.intel.com> <20091230164946.GA9858@morn.localdomain> In-Reply-To: <20091230164946.GA9858@morn.localdomain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: "H. Peter Anvin" , qemu-devel@nongnu.org, kraxel@redhat.com On 12/30/2009 08:49 AM, Kevin O'Connor wrote: > On Tue, Dec 29, 2009 at 01:51:36PM -0800, H. Peter Anvin wrote: >> Add generic support for debugging consoles (simple I/O ports which >> when written to cause debugging output to be written to a target.) >> The current implementation matches Bochs' port 0xe9, allowing the same >> debugging code to be used for both Bochs and Qemu. >> >> There is no vm state associated with the debugging port, simply >> because it has none -- the entire interface is a single, stateless, >> write-only port. >> >> Most of the code was cribbed from the serial port driver. > > Hi, > > SeaBIOS writes debugging info to port 0x0402. Unfortunately, qemu has > to be recompiled in order to display this info. Will your patch > enable one to get at the 0x0402 data without recompiling? > Yes. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.