stubs: Move qemu_timer_notify_cb() and remove qemu_notify_event() stub
[qemu.git] / stubs / replay.c
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
3
4 ReplayMode replay_mode;
5
6 int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount)
7 {
8 abort();
9 return 0;
10 }
11
12 int64_t replay_read_clock(unsigned int kind)
13 {
14 abort();
15 return 0;
16 }
17
18 bool replay_checkpoint(ReplayCheckpoint checkpoint)
19 {
20 return true;
21 }
22
23 bool replay_events_enabled(void)
24 {
25 return false;
26 }
27
28 void replay_finish(void)
29 {
30 }
31
32 void replay_register_char_driver(Chardev *chr)
33 {
34 }
35
36 void replay_chr_be_write(Chardev *s, uint8_t *buf, int len)
37 {
38 abort();
39 }
40
41 void replay_char_write_event_save(int res, int offset)
42 {
43 abort();
44 }
45
46 void replay_char_write_event_load(int *res, int *offset)
47 {
48 abort();
49 }
50
51 int replay_char_read_all_load(uint8_t *buf)
52 {
53 abort();
54 }
55
56 void replay_char_read_all_save_error(int res)
57 {
58 abort();
59 }
60
61 void replay_char_read_all_save_buf(uint8_t *buf, int offset)
62 {
63 abort();
64 }
65
66 void replay_block_event(QEMUBH *bh, uint64_t id)
67 {
68 }
69
70 uint64_t blkreplay_next_id(void)
71 {
72 return 0;
73 }
74
75 void replay_mutex_lock(void)
76 {
77 }
78
79 void replay_mutex_unlock(void)
80 {
81 }
82
83 void replay_save_random(int ret, void *buf, size_t len)
84 {
85 }
86
87 int replay_read_random(void *buf, size_t len)
88 {
89 return 0;
90 }