qemu-e2k/replay
Markus Armbruster 0ec8384f83 replay: Simplify setting replay blockers
replay_add_blocker() takes an Error *.  All callers pass one created
like this:

    error_setg(&blocker, QERR_REPLAY_NOT_SUPPORTED, "some feature");

Folding this into replay_add_blocker() simplifies the callers, losing
a bit of generality we haven't needed in more than six years.

Since there are no other uses of macro QERR_REPLAY_NOT_SUPPORTED,
replace the remaining one by its expansion, and drop the macro.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230207075115.1525-10-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-02-23 14:10:17 +01:00
..
meson.build
replay-audio.c
replay-char.c
replay-debugging.c qapi replay: Elide redundant has_FOO in generated C 2022-12-14 20:05:07 +01:00
replay-events.c
replay-input.c
replay-internal.c
replay-internal.h
replay-net.c
replay-random.c
replay-snapshot.c
replay-time.c
replay.c replay: Simplify setting replay blockers 2023-02-23 14:10:17 +01:00
stubs-system.c replay: Simplify setting replay blockers 2023-02-23 14:10:17 +01:00