I'm now using qemu-system-hppa version 5.2.50, and I can put "-serial mon: stdio" before or after "-serial telnet :: 4441, server" without a problem.
#qemu-system-hppa --version QEMU emulator version 5.2.50 (v5.2.0-1300-g0e32462630) Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers For me, no more bug. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1862619 Title: "-serial telnet::xxxx,server" causes "Device 'serial0' is in use" Status in QEMU: New Bug description: I start qemu version 4.2.50 in a first terminal : $ sudo ./qemu-system-hppa -boot d -serial telnet::4441,server -drive if=scsi,bus=0,index=6,file=./hpux.img,format=raw -serial mon:stdio -D /tmp/foo -nographic -m 512 -d nochain -cdrom ./HPUX_9.05_Installation_Disc_S700.iso -D /tmp/foo -net nic,model=tulip -net tap qemu-system-hppa: -serial telnet::4441,server: info: QEMU waiting for connection on: disconnected:telnet:0.0.0.0:4441,server In another terminal, I launch "telnet localhost 4441" And in the qemu window I have the following error: Unexpected error in qemu_chr_fe_init() at chardev/char-fe.c:220: qemu-system-hppa: Device 'serial0' is in use To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1862619/+subscriptions