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

Reply via email to