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