Re: [Qemu-devel] [PATCH v2 1/2] utils: Add warning messages

2015-12-29 Thread Lluís Vilanova
Markus Armbruster writes: > Lluís Vilanova writes: >> Adds a special error object that transforms error messages into >> immediately reported warnings. > Before I dive into details: my fundamental objection is that _warn > is new infrastructure without a use. The new "this

Re: [Qemu-devel] [PATCH v2 1/2] utils: Add warning messages

2015-11-26 Thread Markus Armbruster
Lluís Vilanova writes: > Adds a special error object that transforms error messages into > immediately reported warnings. Before I dive into details: my fundamental objection is that _warn is new infrastructure without a use. The new "this is how you should do warnings"

[Qemu-devel] [PATCH v2 1/2] utils: Add warning messages

2015-11-23 Thread Lluís Vilanova
Adds a special error object that transforms error messages into immediately reported warnings. Signed-off-by: Lluís Vilanova --- include/qapi/error.h | 20 util/error.c | 37 +++-- 2 files changed, 47