Richard Henderson <r...@twiddle.net> writes: > This is really just a placeholder for an actual > command-line switch for mttcg. > --- > translate-all.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/translate-all.c b/translate-all.c > index f97fc1e..d6d879c 100644 > --- a/translate-all.c > +++ b/translate-all.c > @@ -119,7 +119,7 @@ static void *l1_map[V_L1_SIZE]; > > /* code generation context */ > TCGContext tcg_ctx; > -bool parallel_cpus; > +bool parallel_cpus = 1;
s/1/true/ but... As mentioned on the previous version we can also skip parallel_cpus for single threaded linux-user code. This will be easier once the async safe work is merged so we can flip the flag and trigger a safe tb_flush() once the linux-user guest does its first clone(). > > /* translation block context */ > #ifdef CONFIG_USER_ONLY -- Alex Bennée