qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Getting telnet server port information from qemu's monito


From: Prem Anand Haridoss
Subject: [Qemu-discuss] Getting telnet server port information from qemu's monitor session
Date: Thu, 10 Dec 2015 16:43:27 +0000

Hi Folks

On starting qemu with the parameter “-serial telnet::0,server,nowait” and then running the qemu command “info chardev” on qemu’s monitor session,

 

With Qemu 2.1.2, I used to get the real port on which the telnet server is listening

QEMU 2.1.2 monitor - type 'help' for more information

(qemu) info chardev

parallel0: filename=vc

serial0: filename=telnet:0.0.0.0:46211,server

compat_monitor0: filename=unix:/tmp/pharidos/host1,server

 

However with Qemu 2.4.0, I don’t get the telnet port info

QEMU 2.4.0 monitor - type 'help' for more information

(qemu) info chardev

parallel0: filename=vc

serial0: filename=disconnected:telnet::0,server

compat_monitor0: filename=unix:/tmp/pharidos/host1,server

 

Any idea, how to get the telnet server port information from qemu’s monitor session, with doing something like “netstat -lptu | grep $(pidof  qemu)”

 

Regards

Prem


reply via email to

[Prev in Thread] Current Thread [Next in Thread]