]> git.proxmox.com Git - mirror_qemu.git/commit
translate-all: notify plugin code of tb_flush
authorEmilio G. Cota <cota@braap.org>
Sun, 21 Oct 2018 17:17:32 +0000 (13:17 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
commit5025bb7fde57de2fa76d3ed4277b8b4aaa1b1a69
tree3bea847c8374ef916874e7a2847a3070efe483e1
parent235537fa7347a151ebd7a755e81819a52b3b2195
translate-all: notify plugin code of tb_flush

Plugins might allocate per-TB data that then they get passed each
time a TB is executed (via the *userdata pointer).

Notify plugin code every time a code cache flush occurs, so
that plugins can then reclaim the memory of the per-TB data.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
accel/tcg/translate-all.c