qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] How do -icount flags work in QEMU TCG


From: Arnabjyoti Kalita
Subject: Re: [Qemu-discuss] How do -icount flags work in QEMU TCG
Date: Sat, 24 Mar 2018 22:51:10 -0400

I see I see. So instead of creating a bigger TB that starts from the start
of the TB to the particular I/O instruction, only a single TB would be
created that contains only one instruction, which is the I/O instruction.
Many thanks for letting me know.

Best Regards,
Arnab

On Sat, Mar 24, 2018 at 12:27 PM, Peter Maydell <address@hidden>
wrote:

> 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/0790f86861079b1932679d0f011e43
> 1aaf4ee9e2
>
> 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
>


reply via email to

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