]> www.infradead.org Git - qemu-nvme.git/commit
tcg: Split out tcg_region_prologue_set
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 9 Mar 2021 22:33:15 +0000 (16:33 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 11 Jun 2021 16:26:28 +0000 (09:26 -0700)
commitbf042e8e52f0140388837ce75f865969831ab1ab
tree5ea8cc5ea9bcd1ac630d337453da8f0d56e309e9
parent0430ca00f586a7ad27d3f13de3010ac4d6f40bb6
tcg: Split out tcg_region_prologue_set

This has only one user, but will make more sense after some
code motion.

Always leave the tcg_init_ctx initialized to the first region,
in preparation for tcg_prologue_init().  This also requires
that we don't re-allocate the region for the first cpu, lest
we hit the assertion for total number of regions allocated .

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c