mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:17 +00:00
Add QemuInputEvent as the input subsystem's name for InputEvent and use it in input handler, queue, and replay interfaces. This prepares for decoupling QEMU's internal input event representation from the QAPI InputEvent type. Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20260520-input-v3-1-7c9e4c7abe34@rsg.ci.i.u-tokyo.ac.jp>
103 lines
2.0 KiB
C
103 lines
2.0 KiB
C
#include "qemu/osdep.h"
|
|
#include "system/replay.h"
|
|
#include "ui/input.h"
|
|
|
|
void replay_input_event(QemuConsole *src, QemuInputEvent *evt)
|
|
{
|
|
qemu_input_event_send_impl(src, evt);
|
|
}
|
|
|
|
void replay_input_sync_event(void)
|
|
{
|
|
qemu_input_event_sync_impl();
|
|
}
|
|
|
|
void replay_add_blocker(const char *feature)
|
|
{
|
|
}
|
|
void replay_audio_in_start(size_t *nsamples)
|
|
{
|
|
}
|
|
void replay_audio_in_sample_lr(uint64_t *left, uint64_t *right)
|
|
{
|
|
}
|
|
void replay_audio_in_finish(void)
|
|
{
|
|
}
|
|
void replay_audio_out(size_t *played)
|
|
{
|
|
}
|
|
void replay_breakpoint(void)
|
|
{
|
|
}
|
|
bool replay_can_snapshot(void)
|
|
{
|
|
return true;
|
|
}
|
|
void replay_configure(struct QemuOpts *opts)
|
|
{
|
|
}
|
|
void replay_flush_events(void)
|
|
{
|
|
}
|
|
void replay_gdb_attached(void)
|
|
{
|
|
}
|
|
bool replay_running_debug(void)
|
|
{
|
|
return false;
|
|
}
|
|
void replay_shutdown_request(ShutdownCause cause)
|
|
{
|
|
}
|
|
void replay_start(void)
|
|
{
|
|
}
|
|
void replay_vmstate_init(void)
|
|
{
|
|
}
|
|
|
|
#include "monitor/monitor.h"
|
|
#include "monitor/hmp.h"
|
|
#include "qapi/qapi-commands-replay.h"
|
|
#include "qapi/error.h"
|
|
#include "qemu/error-report.h"
|
|
|
|
void hmp_info_replay(Monitor *mon, const QDict *qdict)
|
|
{
|
|
error_report("replay support not available");
|
|
}
|
|
void hmp_replay_break(Monitor *mon, const QDict *qdict)
|
|
{
|
|
error_report("replay support not available");
|
|
}
|
|
void hmp_replay_delete_break(Monitor *mon, const QDict *qdict)
|
|
{
|
|
error_report("replay support not available");
|
|
}
|
|
void hmp_replay_seek(Monitor *mon, const QDict *qdict)
|
|
{
|
|
error_report("replay support not available");
|
|
}
|
|
ReplayInfo *qmp_query_replay(Error **errp)
|
|
{
|
|
error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
|
|
"replay support not available");
|
|
return NULL;
|
|
}
|
|
void qmp_replay_break(int64_t icount, Error **errp)
|
|
{
|
|
error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
|
|
"replay support not available");
|
|
}
|
|
void qmp_replay_delete_break(Error **errp)
|
|
{
|
|
error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
|
|
"replay support not available");
|
|
}
|
|
void qmp_replay_seek(int64_t icount, Error **errp)
|
|
{
|
|
error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
|
|
"replay support not available");
|
|
}
|