This is an old series from Anthony that was never committed. Now that QEMU does not use ARG0 anymore, it is much simpler to move things to and from the helper.c files as needed to remove most of the TCG code from non-TCG builds.
Of course we're still a long way from there, since cpu-exec.c is intimately linked with exec.c, but we can already add a --disable-tcg option that works, and disable some lengthy parts of the build when using it. Patches that make s390 and ppc work with --disable-tcg (along the lines of patch 9) are welcome. I'm not going to do that myself otherwise, sorry. Paolo Anthony Liguori (2): vl: implement tcg_enabled() and tcg_available() as for other accelerators configure: add --disable-tcg configure option Paolo Bonzini (9): configure: factor out list of supported Xen/KVM targets configure: add CONFIG_TCG=y to config-host.mak tcg: change cpu_restore_state to return void exec: small adjustments for TCG separation monitor: disable info jit if !TCG configure: emit summary at the very end i386: move TCG functions out of helper.o, non-TCG functions to cpu.o build: do not build TCG files if TCG is disabled Makefile.target | 5 +- arch_init.c | 4 + configure | 278 ++++++++++++++++++++++++++-------------------- cpu-exec.c | 2 + exec-all.h | 20 +++- exec.c | 68 +++++++----- monitor.c | 4 + qemu-common.h | 8 +- target-i386/Makefile.objs | 7 +- target-i386/cpu.c | 18 +++ target-i386/excp_helper.c | 24 ++++ target-i386/fpu_helper.c | 18 --- target-i386/helper.c | 24 ---- translate-all.c | 9 +- vl.c | 2 +- 15 file modificati, 289 inserzioni(+), 207 rimozioni(-) -- 1.7.12