qemu/accel
Emilio G. Cota f28d0dfdce tcg: fix --disable-tcg build breakage
Fix the --disable-tcg breakage introduced by tb_lock's removal by
relying on the fact that tcg_enabled() is set to 0 at
compile-time under --disable-tcg.

While at it, add further asserts to fix builds that enable both
--disable-tcg and --enable-debug, which were broken even before
tb_lock's removal.

Tested to build x86_64-softmmu and i386-softmmu targets.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-06-22 18:55:24 +01:00
..
kvm kvm: introduce memory encryption APIs 2018-03-13 12:04:03 +01:00
stubs tcg: fix --disable-tcg build breakage 2018-06-22 18:55:24 +01:00
tcg tcg: remove tb_lock 2018-06-15 08:18:48 -10:00
Makefile.objs kvm: add memory encryption context 2018-03-13 12:04:03 +01:00
accel.c accel: use g_strsplit for parsing accelerator names 2018-05-09 00:13:38 +02:00