patch: make -serial pty not print garbage
Hi,
qemu .... -serial pty does not work correctly. When trying to say
char device redirected to /dev/pts/<n>
it prints garbage instead of /dev/pts/n. This is because it calls slirp's openpty() function instead of the system's proper openpty(). The attached patch fixes this (by making slirp's openpty() static).
Johannes