replay-tools.c (1240B)
1#include "qemu/osdep.h" 2#include "sysemu/replay.h" 3#include "block/aio.h" 4 5bool replay_events_enabled(void) 6{ 7 return false; 8} 9 10int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount) 11{ 12 abort(); 13 return 0; 14} 15 16int64_t replay_read_clock(unsigned int kind, int64_t raw_icount) 17{ 18 abort(); 19 return 0; 20} 21 22uint64_t replay_get_current_icount(void) 23{ 24 return 0; 25} 26 27void replay_bh_schedule_event(QEMUBH *bh) 28{ 29 qemu_bh_schedule(bh); 30} 31 32void replay_bh_schedule_oneshot_event(AioContext *ctx, 33 QEMUBHFunc *cb, void *opaque) 34{ 35 aio_bh_schedule_oneshot(ctx, cb, opaque); 36} 37 38bool replay_checkpoint(ReplayCheckpoint checkpoint) 39{ 40 return true; 41} 42 43void replay_mutex_lock(void) 44{ 45} 46 47void replay_mutex_unlock(void) 48{ 49} 50 51void replay_register_char_driver(Chardev *chr) 52{ 53} 54 55void replay_chr_be_write(Chardev *s, uint8_t *buf, int len) 56{ 57 abort(); 58} 59 60void replay_char_write_event_save(int res, int offset) 61{ 62 abort(); 63} 64 65void replay_char_write_event_load(int *res, int *offset) 66{ 67 abort(); 68} 69 70int replay_char_read_all_load(uint8_t *buf) 71{ 72 abort(); 73} 74 75void replay_char_read_all_save_error(int res) 76{ 77 abort(); 78} 79 80void replay_char_read_all_save_buf(uint8_t *buf, int offset) 81{ 82 abort(); 83}