Re: [Qemu-devel] [PATCH] qemu-socket: Eliminate silly QERR_ macros

2014-09-26 Thread Luiz Capitulino
On Thu, 25 Sep 2014 08:49:31 +0200 Markus Armbruster wrote: > The QERR_ macros are leftovers from the days of "rich" error objects. > They're used with error_set() and qerror_report(), and expand into the > first *two* arguments. This trickiness has become pointless. Clean > up. > > Signed-off

Re: [Qemu-devel] [PATCH] qemu-socket: Eliminate silly QERR_ macros

2014-09-25 Thread Paolo Bonzini
Il 25/09/2014 08:49, Markus Armbruster ha scritto: > The QERR_ macros are leftovers from the days of "rich" error objects. > They're used with error_set() and qerror_report(), and expand into the > first *two* arguments. This trickiness has become pointless. Clean > up. > > Signed-off-by: Markus

Re: [Qemu-devel] [PATCH] qemu-socket: Eliminate silly QERR_ macros

2014-09-24 Thread Markus Armbruster
Markus Armbruster writes: > The QERR_ macros are leftovers from the days of "rich" error objects. > They're used with error_set() and qerror_report(), and expand into the > first *two* arguments. This trickiness has become pointless. Clean > up. > > Signed-off-by: Markus Armbruster Forgot to

[Qemu-devel] [PATCH] qemu-socket: Eliminate silly QERR_ macros

2014-09-24 Thread Markus Armbruster
The QERR_ macros are leftovers from the days of "rich" error objects. They're used with error_set() and qerror_report(), and expand into the first *two* arguments. This trickiness has become pointless. Clean up. Signed-off-by: Markus Armbruster --- include/qapi/qmp/qerror.h | 12