Skip to content
Snippets Groups Projects
  • Philippe Mathieu-Daudé's avatar
    5b5968c4
    replay: Extract core API to 'exec/replay-core.h' · 5b5968c4
    Philippe Mathieu-Daudé authored
    
    replay API is used deeply within TCG common code (common to user
    and system emulation). Unfortunately "sysemu/replay.h" requires
    some QAPI headers for few system-specific declarations, example:
    
      void replay_input_event(QemuConsole *src, InputEvent *evt);
    
    Since commit c2651c0e ("qapi/meson: Restrict UI module to system
    emulation and tools") the QAPI header defining the InputEvent is
    not generated anymore.
    To keep it simple, extract the 'core' replay prototypes to a new
    "exec/replay-core.h" header which we include in the TCG code that
    doesn't need the rest of the replay API.
    
    Reviewed-by: default avatarPavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
    Message-Id: <20221219170806.60580-5-philmd@linaro.org>
    Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
    5b5968c4
    History
    replay: Extract core API to 'exec/replay-core.h'
    Philippe Mathieu-Daudé authored
    
    replay API is used deeply within TCG common code (common to user
    and system emulation). Unfortunately "sysemu/replay.h" requires
    some QAPI headers for few system-specific declarations, example:
    
      void replay_input_event(QemuConsole *src, InputEvent *evt);
    
    Since commit c2651c0e ("qapi/meson: Restrict UI module to system
    emulation and tools") the QAPI header defining the InputEvent is
    not generated anymore.
    To keep it simple, extract the 'core' replay prototypes to a new
    "exec/replay-core.h" header which we include in the TCG code that
    doesn't need the rest of the replay API.
    
    Reviewed-by: default avatarPavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
    Message-Id: <20221219170806.60580-5-philmd@linaro.org>
    Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>