94c3db85b4
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> |
||
---|---|---|
.. | ||
Makefile.objs | ||
qapi-dealloc-visitor.c | ||
qapi-dealloc-visitor.h | ||
qapi-types-core.h | ||
qapi-visit-core.c | ||
qapi-visit-core.h | ||
qapi-visit-impl.h | ||
qmp-core.h | ||
qmp-dispatch.c | ||
qmp-input-visitor.c | ||
qmp-input-visitor.h | ||
qmp-output-visitor.c | ||
qmp-output-visitor.h | ||
qmp-registry.c | ||
string-input-visitor.c | ||
string-input-visitor.h | ||
string-output-visitor.c | ||
string-output-visitor.h |