You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/qapi
Markus Armbruster bcb536cabe error: Kill @error_warn
We added @error_warn some two years ago in commit 3ffef1a55c (error:
add global &error_warn destination).  It has multiple issues:

* error.h's big comment was not updated for it.

* Function contracts were not updated for it.

* ERRP_GUARD() is unaware of @error_warn, and fails to mask it from
  error_prepend() and such.  These crash on @error_warn, as pointed
  out by Akihiko Odaki.

All fixable.  However, after more than two years, we had just of 15
uses, of which the last few patches removed seven as unclean or
otherwise undesirable, adding back five elsewhere.  I didn't look
closely enough at the remaining seven to decide whether they are
desirable or not.

I don't think this feature earns its keep.  Drop it.

Thanks-to: Akihiko  Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20250923091000.3180122-14-armbru@redhat.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
3 weeks ago
..
qmp qapi: Move and rename qapi/qmp/dispatch.h to qapi/qmp-registry.h 8 months ago
clone-visitor.h qapi: Do not cast function pointers 1 year ago
compat-policy.h qapi: change 'unsigned special_features' to 'uint64_t features' 8 months ago
dealloc-visitor.h include: Fix typos found by codespell 9 years ago
error-internal.h util/error: make func optional 5 months ago
error.h error: Kill @error_warn 3 weeks ago
forward-visitor.h qapi: introduce forwarding visitor 4 years ago
opts-visitor.h Move include qemu/option.h from qemu-common.h to actual users 8 years ago
qmp-event.h qapi: Eliminate indirection through qmp_event_get_func_emit() 7 years ago
qmp-registry.h qapi: change 'unsigned special_features' to 'uint64_t features' 8 months ago
qobject-input-visitor.h qapi: Move compat policy from QObject to generic visitor 4 years ago
qobject-output-visitor.h qapi: Move compat policy from QObject to generic visitor 4 years ago
string-input-visitor.h qapi: Rewrite string-input-visitor's integer and list parsing 7 years ago
string-output-visitor.h string-output-visitor: show structs as "<omitted>" 2 years ago
type-helpers.h qapi: New strv_from_str_list() 2 years ago
util.h qapi: change 'unsigned special_features' to 'uint64_t features' 8 months ago
visitor-impl.h qapi: change 'unsigned special_features' to 'uint64_t features' 8 months ago
visitor.h qapi: change 'unsigned special_features' to 'uint64_t features' 8 months ago