replay: introduce icount event

This patch adds icount event to the replay subsystem. This event corresponds
to execution of several instructions and used to synchronize input events
in the replay phase.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Message-Id: <20150917162354.8676.31351.stgit@PASHA-ISP.def.inno>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Pavel Dovgalyuk 2015-09-17 19:23:54 +03:00 committed by Paolo Bonzini
parent c16861ef1b
commit 26bc60ac82
4 changed files with 85 additions and 0 deletions

View file

@ -12,8 +12,15 @@
*
*/
#include <stdbool.h>
#include <stdint.h>
#include "qapi-types.h"
extern ReplayMode replay_mode;
/* Processing the instructions */
/*! Returns number of executed instructions. */
uint64_t replay_get_current_step(void);
#endif