[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v7 21/21] replay: recording of the user inpu
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH v7 21/21] replay: recording of the user input |
Date: |
Mon, 19 Jan 2015 12:53:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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 cannot get rid of _impl function.
> In replay mode we have to make two things:
> - Deny real user imput (qemu_input_event_send should do nothing)
> - Read input from the log (qemu_input_event_send should process read data)
That's fine.
Paolo
Re: [Qemu-devel] [RFC PATCH v7 00/21] Deterministic replay core, Paolo Bonzini, 2015/01/12