qemu/stubs/replay.c
<<
>>
Prefs
   1#include "qemu/osdep.h"
   2#include "sysemu/replay.h"
   3
   4ReplayMode replay_mode;
   5
   6int64_t replay_save_clock(unsigned int kind, int64_t clock, int64_t raw_icount)
   7{
   8    abort();
   9    return 0;
  10}
  11
  12int64_t replay_read_clock(unsigned int kind)
  13{
  14    abort();
  15    return 0;
  16}
  17
  18bool replay_checkpoint(ReplayCheckpoint checkpoint)
  19{
  20    return true;
  21}
  22
  23bool replay_events_enabled(void)
  24{
  25    return false;
  26}
  27
  28void replay_finish(void)
  29{
  30}
  31
  32void replay_register_char_driver(Chardev *chr)
  33{
  34}
  35
  36void replay_chr_be_write(Chardev *s, uint8_t *buf, int len)
  37{
  38    abort();
  39}
  40
  41void replay_char_write_event_save(int res, int offset)
  42{
  43    abort();
  44}
  45
  46void replay_char_write_event_load(int *res, int *offset)
  47{
  48    abort();
  49}
  50
  51int replay_char_read_all_load(uint8_t *buf)
  52{
  53    abort();
  54}
  55
  56void replay_char_read_all_save_error(int res)
  57{
  58    abort();
  59}
  60
  61void replay_char_read_all_save_buf(uint8_t *buf, int offset)
  62{
  63    abort();
  64}
  65
  66void replay_block_event(QEMUBH *bh, uint64_t id)
  67{
  68}
  69
  70uint64_t blkreplay_next_id(void)
  71{
  72    return 0;
  73}
  74
  75void replay_mutex_lock(void)
  76{
  77}
  78
  79void replay_mutex_unlock(void)
  80{
  81}
  82