[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] How do -icount flags work in QEMU TCG
From: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] How do -icount flags work in QEMU TCG |
Date: |
Sat, 24 Mar 2018 16:27:59 +0000 |
On 23 March 2018 at 19:47, Arnabjyoti Kalita <address@hidden> wrote:
> Hi Peter,
>
> Yes only I could see that. Sorry for dumping out incomplete logs :)
>
> Well I think I figured out the source of this representation of repeating TB
> blocks. Your 3rd point in your previous answer was the solution. The fact
> that QEMU in TCG mode executes I/O instructions at the end of the
> translation block is causing these blocks to repeat. What helped me to
> figure this out was a recent patch in the QEMU source code.
>
> This is the patch :
> https://github.com/qemu/qemu/commit/0790f86861079b1932679d0f011e431aaf4ee9e2
Note that that patch turned out to be incorrect. There's a fix to it:
https://lists.gnu.org/archive/html/qemu-devel/2018-03/msg04999.html
which hasn't made it into git yet but should do in the not too
distant future.
thanks
-- PMM