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
)
12 int64_t replay_read_clock(unsigned int kind
)
18 bool replay_checkpoint(ReplayCheckpoint checkpoint
)
23 bool replay_events_enabled(void)
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
)
41 void replay_char_write_event_save(int res
, int offset
)
46 void replay_char_write_event_load(int *res
, int *offset
)
51 int replay_char_read_all_load(uint8_t *buf
)
56 void replay_char_read_all_save_error(int res
)
61 void replay_char_read_all_save_buf(uint8_t *buf
, int offset
)
66 void replay_block_event(QEMUBH
*bh
, uint64_t id
)
70 uint64_t blkreplay_next_id(void)
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
)