Am 24.05.2013 um 15:23 schrieb Luiz Capitulino <lcapitul...@redhat.com>:
> On Fri, 24 May 2013 07:50:33 +0200 > Stefan Priebe <s.pri...@profihost.ag> wrote: > >> Hello list, >> >> since upgrading from qemu 1.4.1 to 1.5.0 i've problems with qmp commands. >> >> With Qemu 1.5 i've the following socket communication: >> >> '{"execute":"qmp_capabilities","id":"12125:1","arguments":{}}' >> >> '{"return": {}, "id": "12125:1"}' >> >> '{"execute":"qom-set","id":"12125:2","arguments":{"value":2,"path":"machine/peripheral/balloon0","property":"guest-stats-polling-interval"}}' >> >> '{"QMP": {"version": {"qemu": {"micro": 0, "minor": 5, "major": 1}, >> "package": ""}, "capabilities": []}}' >> >> '{"id": "12125:2", "error": {"class": "CommandNotFound", "desc": "The >> command qom-set has not been found"}}' >> >> >> It seems that the command mode (qmp_capabilities) gets resets by the >> welcome banner? > > It looks like you got disconnected before qom-set was issued. No its the same socket connection. No disconnect had happened. > > Can you share more details on how those commands are being issued? They're send through socket with a perl script. What do you need? Stefan