Re: [Qemu-devel] [PATCH 07/21] qmp: Eliminate silly QERR_QMP_* macros

2017-02-24 Thread Eric Blake
On 02/23/2017 03:45 PM, Markus Armbruster wrote: > The QERR_ macros are leftovers from the days of "rich" error objects. > > QERR_QMP_BAD_INPUT_OBJECT, QERR_QMP_BAD_INPUT_OBJECT_MEMBER, > QERR_QMP_EXTRA_MEMBER are used in just one place now, except for one > use that has crept into qobject-input-v

[Qemu-devel] [PATCH 07/21] qmp: Eliminate silly QERR_QMP_* macros

2017-02-23 Thread Markus Armbruster
The QERR_ macros are leftovers from the days of "rich" error objects. QERR_QMP_BAD_INPUT_OBJECT, QERR_QMP_BAD_INPUT_OBJECT_MEMBER, QERR_QMP_EXTRA_MEMBER are used in just one place now, except for one use that has crept into qobject-input-visitor.c. Drop these macros, to make the (bad) error messa