Kashyap Chamarthy <kashyap...@gmail.com> writes: > Heya, > > After building qemu, I tried to invoke QMP by via telnet:
Exact version, please. Commit hash if you build from git. > Build: > ========== > #./configure --target-list=x86_64-softmmu --disable-werror > --enable-debug ; make -j5 > ========== > > Invoke QMP: > ========== > kashyap@qemu$ ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm -smp 2 > -m 2048 /export/images/el6box1.qcow2 -qmp tcp:localhost:4444,server > --monitor stdio > QEMU waiting for connection on: tcp:127.0.0.1:4444,server I get QEMU waiting for connection on: tcp::127.0.0.14444,server Note the misplaced colon. Screwed up in commit f6bd5d6e back in December (I checked). Leads me to believe you're using old code. > Failed to start VNC server on `localhost:0,to=99': error parsing to= argument This error comes from inet_parse(). Looks like you compiled so that VNC is the default display. I have no idea why it can't parse that; explicit "-vnc localhost:0,to=99" works for me. The error is not fatal, you just don't get a working display. It should not affect the QMP socket at all. > kashyap@qemu$ > ========== > > The moment I tried to connect via telnet from a different terminal, it > fails this way: > ========== > kashyap@~$ telnet localhost 4444 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Connection closed by foreign host. > kashyap@~$ > ========== Any output from QEMU when this happens? > Any hints ? I'm sure this worked for few weeks ago.