Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / stubs / replay-tools.c
blob3e8ca3212d97236a4848cf582983e7afab14f500
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
3 #include "block/aio.h"
5 bool replay_events_enabled(void)
7 return false;
10 int64_t replay_save_clock(ReplayClockKind kind,
11 int64_t clock, int64_t raw_icount)
13 abort();
14 return 0;
17 int64_t replay_read_clock(ReplayClockKind kind, int64_t raw_icount)
19 abort();
20 return 0;
23 uint64_t replay_get_current_icount(void)
25 return 0;
28 void replay_bh_schedule_event(QEMUBH *bh)
30 qemu_bh_schedule(bh);
33 void replay_bh_schedule_oneshot_event(AioContext *ctx,
34 QEMUBHFunc *cb, void *opaque)
36 aio_bh_schedule_oneshot(ctx, cb, opaque);
39 bool replay_checkpoint(ReplayCheckpoint checkpoint)
41 return true;
44 void replay_mutex_lock(void)
48 void replay_mutex_unlock(void)
52 void replay_register_char_driver(struct Chardev *chr)
56 void replay_chr_be_write(struct Chardev *s, const uint8_t *buf, int len)
58 abort();
61 void replay_char_write_event_save(int res, int offset)
63 abort();
66 void replay_char_write_event_load(int *res, int *offset)
68 abort();
71 int replay_char_read_all_load(uint8_t *buf)
73 abort();
76 void replay_char_read_all_save_error(int res)
78 abort();
81 void replay_char_read_all_save_buf(uint8_t *buf, int offset)
83 abort();