linux shell comes out to qemu-monitor when I enter anything. (I have two uarts)

2022-07-20 Thread Chan Kim
Hello qemu experts, In my virtual machine I have two uart and I want to use the input/output in my host machine. For that I commented out these lines in qemu_chr_open_stdio function in chardev/char-stdio.c. (qemu-6.2.0) /* if (stdio_in_use) { error_setg(errp, "cannot use stdio by

RE: linux shell comes out to qemu-monitor when I enter anything. (I have two uarts)

2022-07-20 Thread Chan Kim
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:

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

2022-07-20 Thread Peter Maydell
On Wed, 20 Jul 2022 at 11:27, Chan Kim wrote: > > Hello qemu experts, > > In my virtual machine I have two uart and I want to use the input/output in > my host machine. > For that I commented out these lines in qemu_chr_open_stdio function in > chardev/char-stdio.c. (qemu-6.2.0) > > /* > if

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

2022-07-20 Thread Peter Maydell
On Wed, 20 Jul 2022 at 13:14, Chan Kim 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

Re: Support for Gaisler multicore LEONx SoCs

2022-07-20 Thread Fabien Chouteau
Hello everyone, On Fri, Jul 8, 2022 at 12:16 PM Frederic Konrad wrote: > About the SMP support AdaCore had a few patches for it, I'll let Fabien > answer. > The patches for SMP support actually come from Gaisler originally (if I remember correctly). For sure we at AdaCore support SMP

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

2022-07-20 Thread Jakob Bohm
On 2022-07-20 14:35, Peter Maydell wrote: On Wed, 20 Jul 2022 at 13:14, Chan Kim 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