qemu-e2k/accel
Matt Borgerson a392277dcf plugins: Set final instruction count in plugin_gen_tb_end
Translation logic may partially decode an instruction, then abort and
remove the instruction from the TB. This can happen for example when an
instruction spans two pages. In this case, plugins may get an incorrect
result when calling qemu_plugin_tb_n_insns to query for the number of
instructions in the TB. This patch updates plugin_gen_tb_end to set the
final instruction count.

Signed-off-by: Matt Borgerson <contact@mborgerson.com>
[AJB: added g_assert to defed API]
Message-Id: <CADc=-s5RwGViNTR-h5cq3np673W3RRFfhr4vCGJp0EoDUxvhog@mail.gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231009164104.369749-23-alex.bennee@linaro.org>
2023-10-11 08:46:39 +01:00
..
hvf accel/tcg: Move can_do_io to CPUNegativeOffsetState 2023-10-03 08:01:02 -07:00
kvm accel/tcg: Move can_do_io to CPUNegativeOffsetState 2023-10-03 08:01:02 -07:00
qtest meson: Replace CONFIG_SOFTMMU -> CONFIG_SYSTEM_ONLY 2023-06-20 10:01:30 +02:00
stubs accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
tcg plugins: Set final instruction count in plugin_gen_tb_end 2023-10-11 08:46:39 +01:00
xen accel/xen: Fix DM state change notification in dm_restrict mode 2023-03-23 09:56:54 +00:00
accel-blocker.c accel: introduce accelerator blocker API 2023-01-11 09:59:39 +01:00
accel-system.c accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
accel-system.h accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
accel-target.c accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00
accel-user.c
dummy-cpus.c accel/tcg: Move can_do_io to CPUNegativeOffsetState 2023-10-03 08:01:02 -07:00
Kconfig accel: Remove HAX accelerator 2023-08-31 19:46:43 +02:00
meson.build accel: Rename accel_softmmu* -> accel_system* 2023-10-07 19:02:57 +02:00