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