qemu/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 chardev: src buffer const for write functions 2022-09-29 14:38:05 +04:00
replay-debugging.c qapi replay: Elide redundant has_FOO in generated C 2022-12-14 20:05:07 +01:00
replay-events.c replay: simplify async event processing 2022-06-06 09:26:53 +02:00
replay-input.c
replay-internal.c
replay-internal.h replay: Fix declaration of replay_read_next_clock 2022-11-29 11:09:11 -05:00
replay-net.c
replay-random.c
replay-snapshot.c replay: simplify async event processing 2022-06-06 09:26:53 +02:00
replay-time.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
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