qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux shell comes out to qemu-monitor when I enter anything. (I have


From: Peter Maydell
Subject: Re: linux shell comes out to qemu-monitor when I enter anything. (I have two uarts)
Date: Wed, 20 Jul 2022 13:35:33 +0100

On Wed, 20 Jul 2022 at 13:14, Chan Kim <ckim@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

[Prev in Thread] Current Thread [Next in Thread]