]> git.proxmox.com Git - mirror_qemu.git/blame - stubs/replay-tools.c
intel-iommu: send UNMAP notifications for domain or global inv desc
[mirror_qemu.git] / stubs / replay-tools.c
CommitLineData
9b1c9116
CF
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
bb7e03cb
CF
10int64_t replay_save_clock(ReplayClockKind kind,
11 int64_t clock, int64_t raw_icount)
9b1c9116
CF
12{
13 abort();
14 return 0;
15}
16
bb7e03cb 17int64_t replay_read_clock(ReplayClockKind kind, int64_t raw_icount)
9b1c9116
CF
18{
19 abort();
20 return 0;
21}
22
23uint64_t replay_get_current_icount(void)
24{
25 return 0;
26}
27
28void replay_bh_schedule_event(QEMUBH *bh)
29{
30 qemu_bh_schedule(bh);
31}
32
33void replay_bh_schedule_oneshot_event(AioContext *ctx,
34 QEMUBHFunc *cb, void *opaque)
35{
36 aio_bh_schedule_oneshot(ctx, cb, opaque);
37}
38
39bool replay_checkpoint(ReplayCheckpoint checkpoint)
40{
41 return true;
42}
43
44void replay_mutex_lock(void)
45{
46}
47
48void replay_mutex_unlock(void)
49{
50}
51
bb7e03cb 52void replay_register_char_driver(struct Chardev *chr)
9b1c9116
CF
53{
54}
55
8f9abdf5 56void replay_chr_be_write(struct Chardev *s, const uint8_t *buf, int len)
9b1c9116
CF
57{
58 abort();
59}
60
61void replay_char_write_event_save(int res, int offset)
62{
63 abort();
64}
65
66void replay_char_write_event_load(int *res, int *offset)
67{
68 abort();
69}
70
71int replay_char_read_all_load(uint8_t *buf)
72{
73 abort();
74}
75
76void replay_char_read_all_save_error(int res)
77{
78 abort();
79}
80
81void replay_char_read_all_save_buf(uint8_t *buf, int offset)
82{
83 abort();
84}