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 v3 ============= * Drop special object 'error_warn' in favour of raw 'error_report()' [suggested by Markus Armbruster]. 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 (1): doc: Introduce coding style for errors HACKING | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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>