hw/i386: Remove the deprecated pc-1.x machine types
[qemu/ar7.git] / stubs / replay-tools.c
blobc06b360e2224cd2a7b65faebff634011cd38afbd
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
3 #include "block/aio.h"
5 bool replay_events_enabled(void)
7 return false;
10 int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount)
12 abort();
13 return 0;
16 int64_t replay_read_clock(unsigned int kind)
18 abort();
19 return 0;
22 uint64_t replay_get_current_icount(void)
24 return 0;
27 void replay_bh_schedule_event(QEMUBH *bh)
29 qemu_bh_schedule(bh);
32 void replay_bh_schedule_oneshot_event(AioContext *ctx,
33 QEMUBHFunc *cb, void *opaque)
35 aio_bh_schedule_oneshot(ctx, cb, opaque);
38 bool replay_checkpoint(ReplayCheckpoint checkpoint)
40 return true;
43 void replay_mutex_lock(void)
47 void replay_mutex_unlock(void)
51 void replay_register_char_driver(Chardev *chr)
55 void replay_chr_be_write(Chardev *s, uint8_t *buf, int len)
57 abort();
60 void replay_char_write_event_save(int res, int offset)
62 abort();
65 void replay_char_write_event_load(int *res, int *offset)
67 abort();
70 int replay_char_read_all_load(uint8_t *buf)
72 abort();
75 void replay_char_read_all_save_error(int res)
77 abort();
80 void replay_char_read_all_save_buf(uint8_t *buf, int offset)
82 abort();