summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-07-27 17:51:03 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-08-13 14:17:53 -0300
commitdf1e608a01eb0d55d6639d97f575dba37a44ac4a (patch)
treeba00f049fb700fd96202ef952fe600e7a05b3093 /scripts/qapi-commands.py
parent7795b166d9d1e2b33d428f5acab6d0d5e617ee91 (diff)
downloadfocaccia-qemu-df1e608a01eb0d55d6639d97f575dba37a44ac4a.tar.gz
focaccia-qemu-df1e608a01eb0d55d6639d97f575dba37a44ac4a.zip
error, qerror: pass desc string to error calls
This commit changes all QERR_ macros to contain a human message (ie.
the desc string found in qerr_table[]) instead of a json dictionary
in string format.

Before this commit, error_set() and qerror_report() would receive
a json dictionary in string format and build a qobject from it. Now,
both function receive a human message instead and the qobject is
not built anymore.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions