From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ND4Sr-0002Lk-NO for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:06:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ND4Sn-0002HA-0p for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:06:29 -0500 Received: from [199.232.76.173] (port=59431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND4Sm-0002H5-U5 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:06:24 -0500 Received: from terminus.zytor.com ([198.137.202.10]:42183) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ND4Sm-0002FV-9l for qemu-devel@nongnu.org; Tue, 24 Nov 2009 18:06:24 -0500 Message-ID: <4B0C66B0.5090805@zytor.com> Date: Tue, 24 Nov 2009 15:05:20 -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: <1258752795-15434-1-git-send-email-hpa@linux.intel.com> <4B0A6973.4010303@redhat.com> <4B0AEC8A.1020905@zytor.com> In-Reply-To: <4B0AEC8A.1020905@zytor.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "H. Peter Anvin" , qemu-devel@nongnu.org On 11/23/2009 12:11 PM, H. Peter Anvin wrote: > On 11/23/2009 02:52 AM, Gerd Hoffmann wrote: >> >> All not needed. Simply registering as qdev device is enougth. You can >> then add a debug port like this, without adding new cmd line options: >> >> -chardev vc,id=debug -device isa-debugcon,chardev=debug >> >> Adding a second one on a non-default port works this way: >> >> -chardev vc,id=d2 -device isa-debugcon,iobase=0xea,chardev=d2 >> > > Sure, but is that user friendly? > Question still stands... if this is The Way It Is Done, then I'll do it that way, but I will personally never be able to remember to type the above stuff without looking it up every time, whereas "-debugcon stdio" is something I can remember in my sleep. -hpa