v2:
- drop usage of prev_debug_excp_handler consistently in all users
- split from reset patches to avoid confusion of inter-dependency
Compile & Run tested:
target-i386: tcg and kvm mode
i386-linux-user: running of /bin/ls
Compile tested:
xtensa-softmmu && xtensaeb-softmmu
git tree for testing:
https://github.com/imammedo/qemu/tree/x86cpu_qom_tcg_v2
Igor Mammedov (4):
target-i386: drop usage of prev_debug_excp_handler
target-xtensa: drop usage of prev_debug_excp_handler
cleanup cpu_set_debug_excp_handler
target-i386: move tcg initialization into x86_cpu_initfn()
cpu-exec.c | 5 +----
exec-all.h | 2 +-
target-i386/cpu.c | 10 ++++++++++
target-i386/cpu.h | 1 +
target-i386/helper.c | 16 +---------------
target-xtensa/helper.c | 8 +-------
6 files changed, 15 insertions(+), 27 deletions(-)