957eca9e73
replay.c symbols are only needed by user mode emulation, with the exception of replay_mode that is needed by both user mode emulation (by way of qemu_guest_getrandom) and block layer tools (by way of util/qemu-timer.c). Since it is needed by libqemuutil rather than specific files that are part of the tools and emulators, split the replay_mode stub into its own file. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20240408155330.522792-17-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
26 lines
322 B
C
26 lines
322 B
C
#include "qemu/osdep.h"
|
|
#include "exec/replay-core.h"
|
|
|
|
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;
|
|
}
|