Ubuntu 20.04 both on host and guest.
I'm new to QEMU and trying to set up guest-host communication via serial port. The QEMU documentation says that
-serial dev option:
Redirect the virtual serial port to host character device dev.
So I ran QEMU VM with the option
-serial pty and got the following console output:
char device redirected to /dev/pts/9 (label serial0)
QUESTION: On host I have the specified device
/dev/pts/9 and writing to it with
echo hello > /dev/pts/9
where should I read the output on the guest from?