[Qemu-devel] Re: [PATCH v2 0/3] really fix -icount with iothread

2011-03-11 Thread Edgar E. Iglesias
On Fri, Mar 11, 2011 at 02:36:49PM +0100, Paolo Bonzini wrote: > On 03/11/2011 01:57 PM, Edgar E. Iglesias wrote: > > Hi Paulo, > > > > I gave this patchset a run and it runs icount and iothread very > > fast in all my testcases. > > Thanks, that's good news. > > > But, it suffers from the proble

[Qemu-devel] Re: [PATCH v2 0/3] really fix -icount with iothread

2011-03-11 Thread Paolo Bonzini
On 03/11/2011 02:36 PM, Edgar E. Iglesias wrote: Yes, something like that. Or somehow sleep for some time related to the time left until the next event to avoid the warps from beeing too visible externally (e.g like sending a network packet continously instead of every 100ms). The important part

[Qemu-devel] Re: [PATCH v2 0/3] really fix -icount with iothread

2011-03-11 Thread Paolo Bonzini
On 03/11/2011 01:57 PM, Edgar E. Iglesias wrote: Hi Paulo, I gave this patchset a run and it runs icount and iothread very fast in all my testcases. Thanks, that's good news. But, it suffers from the problem that commit 225d02cd1a34d5d87e8acefbf8e244a5d12f5f8c tried to fix. If the virtual C

[Qemu-devel] Re: [PATCH v2 0/3] really fix -icount with iothread

2011-03-11 Thread Edgar E. Iglesias
On Thu, Mar 10, 2011 at 01:12:48PM +0100, Paolo Bonzini wrote: > This is a "real" fix for -icount, real in the sense that it > works in all cases including those that weren't fixed by my > first attempt. > > Patch 1 is the three-line fix. With that in, patch 2 can revert > the previous attempt(s)