All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: qemu-arm <qemu-arm@nongnu.org>,
	QEMU Developers <qemu-devel@nongnu.org>,
	QEMU Trivial <qemu-trivial@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-arm] [PATCH] hw/arm/virt: support 4 serial ports
Date: Mon, 23 Oct 2017 14:11:09 +0100	[thread overview]
Message-ID: <CAFEAcA_PM5Fjx2Pk58h75p9vaZwFcusQdXuwy9tbDtc=EaoOJg@mail.gmail.com> (raw)
In-Reply-To: <20171023122719.17199-1-Jason@zx2c4.com>

On 23 October 2017 at 13:27, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> The QEMU man page says:
>
>        -serial dev
>            This option can be used several times to
>            simulate up to 4 serial ports.
>
> However, the ARM virt machine erroneously only provides 1 serial port.
> This patch fixes it by populating 4 of them.
>
> But, unfortunately, this patch doesn't actually work. Sending it to the
> list as inspiration for somebody on the ARM team who might be able to do
> this more properly.

This is really the documentation being wrong -- that is actually
a PC specific thing. In QEMU generally, -serial can be used
for as many serial ports as the machine model provides, up
to a maximum of four.

Why do you want more than one serial port in the virt board?
If there's a good reason we can add more, but mostly I only
expected that one would be needed, for the console.
(If you're using the TrustZone/EL3 support then there's
a second UART for the Secure world.)

thanks
-- PMM

  parent reply	other threads:[~2017-10-23 13:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-23 12:27 [Qemu-devel] [PATCH] hw/arm/virt: support 4 serial ports Jason A. Donenfeld
2017-10-23 12:35 ` no-reply
2017-10-23 13:11 ` Peter Maydell [this message]
2017-10-23 13:48   ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2017-10-24 17:57     ` Jason A. Donenfeld
2017-10-26 13:34       ` Andrew Jones
2017-10-26 14:13         ` Jason A. Donenfeld
2017-10-26 14:36           ` Peter Maydell
2017-10-26 16:15             ` Jason A. Donenfeld
2017-10-26 16:34               ` Peter Maydell
2017-10-26 16:36                 ` Jason A. Donenfeld
2017-10-26 16:41                   ` Peter Maydell
2017-10-26 17:31                     ` Jason A. Donenfeld
2017-12-08 11:49                       ` Peter Maydell
2017-12-08 18:39                         ` Jason A. Donenfeld
2017-12-10 18:15                           ` Peter Maydell
2017-10-23 14:14   ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFEAcA_PM5Fjx2Pk58h75p9vaZwFcusQdXuwy9tbDtc=EaoOJg@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=Jason@zx2c4.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.