On Thu, Feb 09, 2017 at 02:53:52PM +0100, Andrea Bolognani wrote:
> On Wed, 2017-02-08 at 19:36 +0000, Peter Maydell wrote:
> > The trouble with using virtconsole is that you have to
> > get quite a long way forward (probing and setting up
> > PCI, etc) before you can get any kind of console output.
> > "System doesn't boot and doesn't produce any output"
> > is a common and really annoying failure mode in the
> > ARM world, and I think that using virtconsole is
> > asking for that kind of thing to happen more rather
> > than less often. (Plus having two different serial
> > ports in the guest means that now the user has to
> > configure where both of them are supposed to output.)
> 
> You don't get one unless you use '-serial stdio' or
> something like that in my experience, so if you use the
> sample configuration file as I posted it you will only
> get one serial console, the VirtIO-based one.

The emulated UART is there no matter what, it's built-in on
the board. Whether it gets wired up to the console, stdio in
this case, depends on the '-serial stdio'. Adding the virtio-
console introduces another serial port, but OSes can still
discover the PL011 and try to use that in addition.

Thanks,
drew

Reply via email to