qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v10 18/24] replay: replay aio requests


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH v10 18/24] replay: replay aio requests
Date: Fri, 13 Mar 2015 18:01:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


On 27/02/2015 14:11, Pavel Dovgalyuk wrote:
> This patch adds identifier to aio requests. ID is used for creating bottom
> halves and identifying them while replaying.
> The patch also introduces several functions that make possible replaying
> of the aio requests.

Out of curiosity, why did you use this approach instead of using a
RR-specific block device backend (as you did for network, I think)?  The
backend could just store the data that is read in the RR file (or in a
separate file that can be easily mmap-ed), and use a timer to trigger it
at the right QEMU_CLOCK_VIRTUAL tick.

I'm sure you considered something like this.  Did you still get
non-determinism?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]