qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 26/26] plugins: move reset of plugin data to tb_start


From: Richard Henderson
Subject: Re: [PATCH v3 26/26] plugins: move reset of plugin data to tb_start
Date: Sun, 6 Feb 2022 12:16:13 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/5/22 07:43, Alex Bennée wrote:
We can't always guarantee we get to the end of a translator loop.
Although this can happen for a variety of reasons it does happen more
often on x86 system emulation when an instruction spans across to an
un-faulted page. This caused confusion of the instruction tracking
data resulting in apparent reverse execution (at least from the
plugins point of view).

Fix this by moving the reset code to plugin_gen_tb_start so we always
start with a clean slate.

Resolves:https://gitlab.com/qemu-project/qemu/-/issues/824
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
Message-Id:<20220124201608.604599-23-alex.bennee@linaro.org>
---
  accel/tcg/plugin-gen.c | 29 ++++++++++++++++++-----------
  1 file changed, 18 insertions(+), 11 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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