qemu/include/qapi
Markus Armbruster 2ee2f1e415 error: New convenience function error_report_err()
I've typed error_report("%s", error_get_pretty(ERR)) too many times
already, and I've fixed too many instances of qerror_report_err(ERR)
to error_report("%s", error_get_pretty(ERR)) as well.  Capture the
pattern in a convenience function.

Since it's almost invariably followed by error_free(), stuff that into
the convenience function as well.

The next patch will put it to use.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2015-02-18 10:50:43 +01:00
..
qmp block: Eliminate silly QERR_ macros used for encryption keys 2015-02-06 11:46:32 -05:00
dealloc-visitor.h
error.h error: New convenience function error_report_err() 2015-02-18 10:50:43 +01:00
opts-visitor.h OptsVisitor: don't try to flatten overlong integer ranges 2013-08-20 11:52:00 -04:00
qmp-event.h qapi: add event helper functions 2014-06-23 11:01:25 -04:00
qmp-input-visitor.h
qmp-output-visitor.h
string-input-visitor.h
string-output-visitor.h qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
util.h rename parse_enum_option to qapi_enum_parse and make it public 2014-09-08 11:12:43 +01:00
visitor-impl.h qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00
visitor.h qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00