diff options
| author | Clement Deschamps | 2019-10-22 16:00:16 +0200 |
|---|---|---|
| committer | Richard Henderson | 2019-10-28 10:35:23 +0100 |
| commit | 1b1940026c95b941d9cf75bd38b37fe3feaa78a7 (patch) | |
| tree | 802e2c4bdf87cbaee41511203213b88e7b6da4af /include/exec | |
| parent | cputlb: Fix tlb_vaddr_to_host (diff) | |
| download | qemu-1b1940026c95b941d9cf75bd38b37fe3feaa78a7.tar.gz qemu-1b1940026c95b941d9cf75bd38b37fe3feaa78a7.tar.xz qemu-1b1940026c95b941d9cf75bd38b37fe3feaa78a7.zip | |
translate-all: fix uninitialized tb->orig_tb
This fixes a segmentation fault in icount mode when executing
from an IO region.
TB is marked as CF_NOCACHE but tb->orig_tb is not initialized
(equals previous value in code_gen_buffer).
The issue happens in cpu_io_recompile() when it tries to invalidate orig_tb.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Clement Deschamps <clement.deschamps@greensocs.com>
Message-Id: <20191022140016.918371-1-clement.deschamps@greensocs.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
