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: do not build if TCG is not available 2020-10-22 11:53:54 -04:00
replay-audio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
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: fix icount request when replaying clock access 2021-02-16 17:15:39 +01:00
replay-internal.h replay: Fix declaration of replay_read_next_clock 2022-11-29 11:09:11 -05:00
replay-net.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
replay-random.c replay: record and replay random number sources 2020-01-07 12:08:39 +01:00
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