|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH] fix halt emulation with icount and CONFIG_IOTHREAD (v2) |
Date: | Fri, 18 Feb 2011 18:13:27 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 02/17/2011 09:27 AM, Paolo Bonzini wrote:
It is "-icount N" which is broken and unfortunately your patch does not fix it.
The problem is that for "use_icount == 1" qemu_icount_delta always returns 0, and this makes no sense in the iothread case. As soon as the delta becomes greater than 10 ms (the maximum adjustment in qemu_calculate_timeout) you just keep polling but hardly execute any code.
I'll try to post something in the weekend. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |