On 16/01/2015 08:23, Pavel Dovgaluk wrote:
Similar to other cases, please wrap this into a single function,
something like
if (replay_handle_input_event(evt)) {
return;
}
/* ... original contents of qemu_input_event_send ... */
I can wrap this, but
From: Paolo Bonzini [mailto:pbonz...@redhat.com]
On 12/01/2015 13:01, Pavel Dovgalyuk wrote:
+void qemu_input_event_send(QemuConsole *src, InputEvent *evt)
{
-QemuInputHandlerState *s;
-
if (!runstate_is_running() !runstate_check(RUN_STATE_SUSPENDED)) {
return;
On 12/01/2015 13:01, Pavel Dovgalyuk wrote:
+void qemu_input_event_send(QemuConsole *src, InputEvent *evt)
{
-QemuInputHandlerState *s;
-
if (!runstate_is_running() !runstate_check(RUN_STATE_SUSPENDED)) {
return;
}
+if (replay_mode == REPLAY_MODE_PLAY) {
This records user input (keyboard and mouse events) in record mode and replays
these input events in replay mode.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
include/ui/input.h |2 +
replay/Makefile.objs |1
replay/replay-events.c | 48