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 <[email protected]> --- 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: [email protected] Cc: Stefan Hajnoczi <[email protected]> Cc: Dr. David Alan Gilbert <[email protected]> Cc: Thomas Huth <[email protected]> Cc: Markus Armbruster <[email protected]> Cc: Eric Blake <[email protected]>
