ppc/pnv: remove PnvPHB4.version
[qemu.git] / stubs / replay-tools.c
blobf2e72bb225d6177d1bb7e433704fdef6034d05fe
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, 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();