Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20170120-v2' into staging
[qemu.git] / stubs / replay.c
blobd9a6da99d279b8a9a582c1a584fbb007c54499f0
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)
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(CharDriverState *chr)
37 void replay_chr_be_write(CharDriverState *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;