xref: /openbmc/qemu/replay/stubs-system.c (revision 7c08eefc)
1 #include "qemu/osdep.h"
2 #include "sysemu/replay.h"
3 #include "ui/input.h"
4 
5 void replay_input_event(QemuConsole *src, InputEvent *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(size_t *recorded, void *samples, size_t *wpos, size_t size)
19 {
20 }
21 void replay_audio_out(size_t *played)
22 {
23 }
24 void replay_breakpoint(void)
25 {
26 }
27 bool replay_can_snapshot(void)
28 {
29     return true;
30 }
31 void replay_configure(struct QemuOpts *opts)
32 {
33 }
34 void replay_flush_events(void)
35 {
36 }
37 void replay_gdb_attached(void)
38 {
39 }
40 bool replay_running_debug(void)
41 {
42     return false;
43 }
44 void replay_shutdown_request(ShutdownCause cause)
45 {
46 }
47 void replay_start(void)
48 {
49 }
50 void replay_vmstate_init(void)
51 {
52 }
53 
54 #include "monitor/monitor.h"
55 #include "monitor/hmp.h"
56 #include "qapi/qapi-commands-replay.h"
57 #include "qapi/error.h"
58 #include "qemu/error-report.h"
59 
60 void hmp_info_replay(Monitor *mon, const QDict *qdict)
61 {
62     error_report("replay support not available");
63 }
64 void hmp_replay_break(Monitor *mon, const QDict *qdict)
65 {
66     error_report("replay support not available");
67 }
68 void hmp_replay_delete_break(Monitor *mon, const QDict *qdict)
69 {
70     error_report("replay support not available");
71 }
72 void hmp_replay_seek(Monitor *mon, const QDict *qdict)
73 {
74     error_report("replay support not available");
75 }
76 ReplayInfo *qmp_query_replay(Error **errp)
77 {
78     error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
79               "replay support not available");
80     return NULL;
81 }
82 void qmp_replay_break(int64_t icount, Error **errp)
83 {
84     error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
85               "replay support not available");
86 }
87 void qmp_replay_delete_break(Error **errp)
88 {
89     error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
90               "replay support not available");
91 }
92 void qmp_replay_seek(int64_t icount, Error **errp)
93 {
94     error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
95               "replay support not available");
96 }
97