Adalbert Lazãr <ala...@bitdefender.com> writes: > On Wed, 15 Apr 2020 16:11:14 +0200, Markus Armbruster <arm...@redhat.com> > wrote: >> Adalbert Lazãr <ala...@bitdefender.com> writes: [...] >> > Until this moment, I did not think that we can use "server=no" through QMP >> > :)) >> >> Start here: >> >> $ socat "READLINE,history=$HOME/.qmp_history,prompt=QMP>" >> UNIX-CONNECT:$HOME/work/images/test-qmp >> {"QMP": {"version": {"qemu": {"micro": 92, "minor": 2, "major": 4}, >> "package": "v5.0.0-rc2-30-g25b0509e28"}, "capabilities": ["oob"]}} >> QMP>{"execute": "qmp_capabilities"} >> {"return": {}} >> QMP>{"execute":"chardev-add", "arguments": {"id":"foo", "backend": >> {"type": "socket", "data": {"addr": {"type": "inet", "data": {"host": >> "0.0.0.0", "port": "2445"}}, "server": false}}}} >> {"error": {"class": "GenericError", "desc": "Failed to connect socket: >> Connection refused"}} >> > > Thank you, Markus. > > I wanted to say that while I was writing the reply, I had an aha! moment and > I was > amused that I have not thought to use server=no/false and I used the wrong > verb tense.
Happy to help! Enjoy :)