qemu/replay/stubs-system.c
<<
>>
Prefs
   1#include "qemu/osdep.h"
   2#include "sysemu/replay.h"
   3#include "ui/input.h"
   4
   5void replay_input_event(QemuConsole *src, InputEvent *evt)
   6{
   7    qemu_input_event_send_impl(src, evt);
   8}
   9
  10void replay_input_sync_event(void)
  11{
  12    qemu_input_event_sync_impl();
  13}
  14
  15void replay_add_blocker(Error *reason)
  16{
  17}
  18void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size)
  19{
  20}
  21void replay_audio_out(size_t *played)
  22{
  23}
  24void replay_breakpoint(void)
  25{
  26}
  27bool replay_can_snapshot(void)
  28{
  29    return true;
  30}
  31void replay_configure(struct QemuOpts *opts)
  32{
  33}
  34void replay_flush_events(void)
  35{
  36}
  37void replay_gdb_attached(void)
  38{
  39}
  40bool replay_running_debug(void)
  41{
  42    return false;
  43}
  44void replay_shutdown_request(ShutdownCause cause)
  45{
  46}
  47void replay_start(void)
  48{
  49}
  50void 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
  60void hmp_info_replay(Monitor *mon, const QDict *qdict)
  61{
  62    error_report("replay support not available");
  63}
  64void hmp_replay_break(Monitor *mon, const QDict *qdict)
  65{
  66    error_report("replay support not available");
  67}
  68void hmp_replay_delete_break(Monitor *mon, const QDict *qdict)
  69{
  70    error_report("replay support not available");
  71}
  72void hmp_replay_seek(Monitor *mon, const QDict *qdict)
  73{
  74    error_report("replay support not available");
  75}
  76ReplayInfo *qmp_query_replay(Error **errp)
  77{
  78    error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
  79              "replay support not available");
  80    return NULL;
  81}
  82void qmp_replay_break(int64_t icount, Error **errp)
  83{
  84    error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
  85              "replay support not available");
  86}
  87void qmp_replay_delete_break(Error **errp)
  88{
  89    error_set(errp, ERROR_CLASS_COMMAND_NOT_FOUND,
  90              "replay support not available");
  91}
  92void 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