Skip to contentSkip to conversation

patch: make -serial pty not print garbage

Qemu-devel Johannes Martin 1 participant 1 message Oct 9, 2004

lore
Share & tools
lore
#0 lore raw

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