compiler: never omit assertions if using a static analysis tool
[qemu.git] / stubs / replay.c
blobde9fa1ec987a373a8752fa1c78a3601c4e7c7f03
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)