]> Git Repo - qemu.git/commit
QMP: Return an empty dict by default
authorLuiz Capitulino <[email protected]>
Fri, 18 Dec 2009 15:25:00 +0000 (13:25 -0200)
committerAnthony Liguori <[email protected]>
Sat, 19 Dec 2009 14:26:02 +0000 (08:26 -0600)
commit0abc657914c73c74a7381a26dd45d138a4b3bdd7
tree5e8e044090c6f3fe64182d8f32177ffc7878f1ba
parent43e713ce93600ccdb4dd0cc54ff5a087b38eb91e
QMP: Return an empty dict by default

Currently, when a regular command doesn't have any data to output,
QMP will emit:

{ "return": "OK" }

Returning an empty dict is better though, because dicts can support
some protocol changes in a compatible way.

So, with this commit we will return:

{ "return": {} }

Signed-off-by: Luiz Capitulino <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
monitor.c
This page took 0.021619 seconds and 4 git commands to generate.