On 9/11/26 17:10, Richard Henderson wrote:
The intent of the assert has always been to prevent operating
on a foreign running cpu -- we must use run_on for that.
Not created is certainly one condition for not running but
there are others, including case at issue here of reset.
Rename the assert and expand the condition to all stopped cpus.
Enable the assertion with --enable-debug-tcg, not a private
define that is never enabled in practice.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/3092
Signed-off-by: Richard Henderson <[email protected]>
---
accel/tcg/cputlb.c | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>