qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] debugcon: support for debugging consoles (e.g.


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] debugcon: support for debugging consoles (e.g. Bochs port 0xe9)
Date: Wed, 25 Nov 2009 08:33:32 +0100

On 25.11.2009, at 00:05, H. Peter Anvin wrote:

> 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.

I agree with hpa here. While the -device syntax is nice for development and 
hacky stuff, let's please not force any user to use it!

Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]