aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-06-29 14:25:01 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-07-13 13:46:55 -0300
commit94c3db85b4cc1d4e078859834a761bcc9d988780 (patch)
tree153a7261f23edf89dd341f5edf7a878a0775e56e /qmp-commands.hx
parentf5b0d93bcba712e1864c71c2f298c59a94efaa79 (diff)
qapi: input_type_enum(): fix error message
The enum string is pointed to by 'enum_str' not 'name'. This bug causes the error message to be: { "error": { "class": "InvalidParameter", "desc": "Invalid parameter 'null'", "data": { "name": "null" } } } Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Amos Kong <akong@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions