qemu-discuss
[Top][All Lists]
Advanced

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

Re: GPIO-IN/OUT in Qemu


From: Peter Maydell
Subject: Re: GPIO-IN/OUT in Qemu
Date: Sun, 9 May 2021 21:54:29 +0100

On Sun, 9 May 2021 at 17:15, Mahmoud Shirazi <m.shirazi@iasbs.ac.ir> wrote:
> I checked many machines (boards) in Qemu. Al all of them, all UARTs are as 
> gpio-out. Does it means that the connection between the guest and host is in 
> one direction (from guest to host)?
> If yes, I there is a way to have a bidirectional connection between the guest 
> and host over UART?

No, UARTs are all bidirectional. You can connect a simulated
UART up to any of QEMU's "chardev" backends (eg to a TCP port,
to the terminal, to a unix pipe), depending on what your needs
are for the host end of the connection. Check the documentation
for details.

thanks
-- PMM



reply via email to

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