master
c 108 lines 2.08 KB
Raw
1 #include "qemu/osdep.h"
2 #include "system/replay.h"
3 #include "ui/input.h"
4
5 void replay_input_event(QemuConsole *src, QemuInputEvent *evt)
6 {
7 qemu_input_event_send_impl(src, evt);
8 }
9
10 void replay_input_sync_event(void)
11 {
12 qemu_input_event_sync_impl();
13 }
14
15 void replay_add_blocker(const char *feature)
16 {
17 }
18 void replay_audio_in_start(size_t *nsamples)
19 {
20 }
21 void replay_audio_in_sample_lr(uint64_t *left, uint64_t *right)
22 {
23 }
24 void replay_audio_in_finish(void)
25 {
26 }
27 void replay_audio_out(size_t *played)
28 {
29 }
30 void replay_breakpoint(void)
31 {
32 }
33 bool replay_can_snapshot(void)
34 {
35 return true;
36 }
37 void replay_configure(struct QemuOpts *opts)
38 {
39 }
40 void replay_flush_events(void)
41 {
42 }
43 void replay_gdb_attached(void)
44 {
45 }
46 bool replay_running_debug(void)
47 {
48 return false;
49 }
50 void replay_shutdown_request(ShutdownCause cause)
51 {
52 }
53 void replay_start(void)
54 {
55 }
56 void replay_vmstate_init(void)
57 {
58 }
59
60 #include "monitor/monitor.h"
61 #include "monitor/hmp.h"
62 #include "qapi/qapi-commands-replay.h"
63 #include "qapi/error.h"
64 #include "qemu/error-report.h"
65
66 #ifdef CONFIG_HMP
67 void hmp_info_replay(MonitorHMP *hmp, const QDict *qdict)
68 {
69 error_report("replay support not available");
70 }
71
72 void hmp_replay_break(MonitorHMP *hmp, const QDict *qdict)
73 {
74 error_report("replay support not available");
75 }
76
77 void hmp_replay_delete_break(MonitorHMP *hmp, const QDict *qdict)
78 {
79 error_report("replay support not available");
80 }
81
82 void hmp_replay_seek(MonitorHMP *hmp, const QDict *qdict)
83 {
84 error_report("replay support not available");
85 }
86 #endif
87
88 ReplayInfo *qmp_query_replay(Error **errp)
89 {
90 error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
91 "replay support not available");
92 return NULL;
93 }
94 void qmp_replay_break(int64_t icount, Error **errp)
95 {
96 error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
97 "replay support not available");
98 }
99 void qmp_replay_delete_break(Error **errp)
100 {
101 error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
102 "replay support not available");
103 }
104 void qmp_replay_seek(int64_t icount, Error **errp)
105 {
106 error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
107 "replay support not available");
108 }