On 2022-07-20 14:35, Peter Maydell wrote:
On Wed, 20 Jul 2022 at 13:14, Chan Kim <c...@etri.re.kr> wrote:
Hi, Peter Maydell,

Thank you for the advice.
So I uncommented the stdio_in_use guard, and used this option
(because the second uart will be used)

-chardev null,mux=off,id=char0 -serial chardev:char0 -chardev 
stdio,mux=off,id=char1 -serial chardev:char1

And it gives me :
qemu-system-aarch64: cannot use stdio by multiple character devices
That isn't a full QEMU command line. Either something else on your
command line is also using 'stdio', or you've passed an option
that implicitly says "use stdio" (maybe -nographic ?), or you have
code in your device model that's hardwiring use of the stdio chardev.


-- PMM


It would be a lot more helpful if your error message was explicit about
which items were conflicting rather than demanding the full configuration
from people affected.  And don't fall for the temptation of printing out a
list of potential reasons in the fixed error text, actually print the actual data
triggering your error case.


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded


Reply via email to