Adds support for reporting non-terminating errors (dubbed warnings), and briefly documents what routines should developers generally use to keep error reporting consistent.
Changes in v2 ============= * Split in two patches. * Explicitly add a warning error object. Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> --- Lluís Vilanova (2): utils: Add warning messages doc: Introduce coding style for errors HACKING | 31 +++++++++++++++++++++++++++++++ include/qapi/error.h | 20 ++++++++++++++++++++ util/error.c | 37 +++++++++++++++++++++++++++---------- 3 files changed, 78 insertions(+), 10 deletions(-) To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi <stefa...@gmail.com> Cc: Dr. David Alan Gilbert <dgilb...@redhat.com> Cc: Thomas Huth <th...@redhat.com> Cc: Markus Armbruster <arm...@redhat.com> Cc: Eric Blake <ebl...@redhat.com>