mirror of
https://github.com/qemu/qemu.git
synced 2024-12-15 23:43:31 +08:00
5b5968c477
replay API is used deeply within TCG common code (common to user
and system emulation). Unfortunately "sysemu/replay.h" requires
some QAPI headers for few system-specific declarations, example:
void replay_input_event(QemuConsole *src, InputEvent *evt);
Since commit c2651c0eaa
("qapi/meson: Restrict UI module to system
emulation and tools") the QAPI header defining the InputEvent is
not generated anymore.
To keep it simple, extract the 'core' replay prototypes to a new
"exec/replay-core.h" header which we include in the TCG code that
doesn't need the rest of the replay API.
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Message-Id: <20221219170806.60580-5-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
28 lines
347 B
C
28 lines
347 B
C
#include "qemu/osdep.h"
|
|
#include "exec/replay-core.h"
|
|
|
|
ReplayMode replay_mode;
|
|
|
|
void replay_finish(void)
|
|
{
|
|
}
|
|
|
|
void replay_save_random(int ret, void *buf, size_t len)
|
|
{
|
|
}
|
|
|
|
int replay_read_random(void *buf, size_t len)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool replay_reverse_step(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool replay_reverse_continue(void)
|
|
{
|
|
return false;
|
|
}
|