tests/test-hmp: Use qtest_init() instead of qtest_start()
[qemu/ar7.git] / stubs / replay.c
blob4ac607895d01f1a0c462c170cf46673f1c41588c
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
3 #include "sysemu/sysemu.h"
5 ReplayMode replay_mode;
7 int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount)
9 abort();
10 return 0;
13 int64_t replay_read_clock(unsigned int kind)
15 abort();
16 return 0;
19 bool replay_checkpoint(ReplayCheckpoint checkpoint)
21 return true;
24 bool replay_events_enabled(void)
26 return false;
29 void replay_finish(void)
33 void replay_register_char_driver(Chardev *chr)
37 void replay_chr_be_write(Chardev *s, uint8_t *buf, int len)
39 abort();
42 void replay_char_write_event_save(int res, int offset)
44 abort();
47 void replay_char_write_event_load(int *res, int *offset)
49 abort();
52 int replay_char_read_all_load(uint8_t *buf)
54 abort();
57 void replay_char_read_all_save_error(int res)
59 abort();
62 void replay_char_read_all_save_buf(uint8_t *buf, int offset)
64 abort();
67 void replay_block_event(QEMUBH *bh, uint64_t id)
71 uint64_t blkreplay_next_id(void)
73 return 0;
76 void replay_mutex_lock(void)
80 void replay_mutex_unlock(void)