Re: [Qemu-devel] [PATCH 31/34] error, qerror: pass desc string to error calls

2012-08-02 Thread Markus Armbruster
Luiz Capitulino writes: > 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 b

[Qemu-devel] [PATCH 31/34] error, qerror: pass desc string to error calls

2012-08-01 Thread Luiz Capitulino
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 fun