Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20170103-1' into staging
[qemu.git] / stubs / replay.c
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
3 #include "sysemu/sysemu.h"
4
5 ReplayMode replay_mode;
6
7 int64_t replay_save_clock(unsigned int kind, int64_t clock)
8 {
9 abort();
10 return 0;
11 }
12
13 int64_t replay_read_clock(unsigned int kind)
14 {
15 abort();
16 return 0;
17 }
18
19 bool replay_checkpoint(ReplayCheckpoint checkpoint)
20 {
21 return true;
22 }
23
24 bool replay_events_enabled(void)
25 {
26 return false;
27 }
28
29 void replay_finish(void)
30 {
31 }
32
33 void replay_register_char_driver(CharDriverState *chr)
34 {
35 }
36
37 void replay_chr_be_write(CharDriverState *s, uint8_t *buf, int len)
38 {
39 abort();
40 }
41
42 void replay_char_write_event_save(int res, int offset)
43 {
44 abort();
45 }
46
47 void replay_char_write_event_load(int *res, int *offset)
48 {
49 abort();
50 }
51
52 int replay_char_read_all_load(uint8_t *buf)
53 {
54 abort();
55 }
56
57 void replay_char_read_all_save_error(int res)
58 {
59 abort();
60 }
61
62 void replay_char_read_all_save_buf(uint8_t *buf, int offset)
63 {
64 abort();
65 }
66
67 void replay_block_event(QEMUBH *bh, uint64_t id)
68 {
69 }
70
71 uint64_t blkreplay_next_id(void)
72 {
73 return 0;
74 }