block/nbd: allow drain during reconnect attempt
[qemu/ar7.git] / stubs / replay.c
blob5974ec1f50e60f40fc90b12de6537460045b9cbd
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
4 ReplayMode replay_mode;
6 int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount)
8 abort();
9 return 0;
12 int64_t replay_read_clock(unsigned int kind)
14 abort();
15 return 0;
18 bool replay_checkpoint(ReplayCheckpoint checkpoint)
20 return true;
23 bool replay_events_enabled(void)
25 return false;
28 void replay_finish(void)
32 void replay_register_char_driver(Chardev *chr)
36 void replay_chr_be_write(Chardev *s, uint8_t *buf, int len)
38 abort();
41 void replay_char_write_event_save(int res, int offset)
43 abort();
46 void replay_char_write_event_load(int *res, int *offset)
48 abort();
51 int replay_char_read_all_load(uint8_t *buf)
53 abort();
56 void replay_char_read_all_save_error(int res)
58 abort();
61 void replay_char_read_all_save_buf(uint8_t *buf, int offset)
63 abort();
66 void replay_block_event(QEMUBH *bh, uint64_t id)
70 uint64_t blkreplay_next_id(void)
72 return 0;
75 void replay_mutex_lock(void)
79 void replay_mutex_unlock(void)
83 void replay_save_random(int ret, void *buf, size_t len)
87 int replay_read_random(void *buf, size_t len)
89 return 0;