Also on quickly connecting to the ports via the netcat tool (hoping that it would make qemu to change its state from disconnected) I see the following error "Error in getpeername: Transport endpoint is not connected"
pharidos@uks2:~/$ qemu-system-x86_64 --enable-kvm -hda Sisk.qcow2 -serial telnet::0,server,nowait -serial telnet::0,server,nowait -nographic QEMU 2.5.0 monitor - type 'help' for more information (qemu) info chardev parallel0: filename=null serial1: filename=disconnected:telnet::0,server serial0: filename=disconnected:telnet::0,server compat_monitor0: filename=stdio (qemu) # COnnect quickly to the serial ports via netcat pharidos@kvm:~/$ netstat -tupan 2>/dev/null | grep "LISTEN.* $(pgrep -f qemu)/qemu" | cut -d: -f2 | cut -d' ' -f1 45814 42522 pharidos@kvm:~/$ ports=$(netstat -tupan 2>/dev/null | grep "LISTEN.* $(pgrep -f qemu)/qemu" | cut -d: -f2 | cut -d' ' -f1) pharidos@kvm:~/$ for p in $ports; do echo | nc -w0 kvm $p >/dev/null; done # Check the port status again. We see the the error "Error in getpeername: Transport endpoint is not connected" (qemu) info chardev parallel0: filename=null serial1: filename=Error in getpeername: Transport endpoint is not connected serial0: filename=Error in getpeername: Transport endpoint is not connected compat_monitor0: filename=stdio (qemu) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1544524 Title: "info chardev" not showing the real port in use Status in QEMU: New Bug description: With Qemu 2.1.2 =============== pharidos@uks2:~$ qemu-system-x86_64 -hda Disk.qcow2 -serial telnet::0,server,nowait -nographic QEMU 2.1.2 monitor - type 'help' for more information (qemu) info chardev parallel0: filename=null serial0: filename=telnet:0.0.0.0:44189,server ^^^^^^^^^^^^^^^^^^^^^^^^^^^ serial console is using port 44189 compat_monitor0: filename=stdio (qemu) With Qemu 2.5.0 =============== pharidos@uks2:~$ qemu-system-x86_64 -hda Disk.qcow2 -serial telnet::0,server,nowait -nographic QEMU 2.5.0 monitor - type 'help' for more information (qemu) info chardev parallel0: filename=null serial0: filename=disconnected:telnet::0,server ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ serial console port not shown compat_monitor0: filename=stdio (qemu) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1544524/+subscriptions