Serial communication between QEMU host and guest
<p>I'm trying to set up a pair of serial ports between my QEMU host (Debian Jessie x86_64) and guest (also Debian Jessie, but on ARM). Everything except the serial port part works. </p>

<p>I'm really new to QEMU so there might be a better way but I've tested the following flags when running QEMU:</p>

<p><code>-chardev tty,id=mytty,path=/dev/pts/2</code> (/dev/pts/2 &amp; 3 are up with socat)</p>

<p><code>-chardev pty,id=mypty</code> QEMU opens a PTY but when I try to read or write from host get permission denied. </p>

<p>In either case I can't find the ports in my guest. /dev/pts is empty and in /dev there are only tty and ttyAMA3. So, my problem is setting up communication in general and I'm especially curious on where the ports are on my guest. </p>