aboutsummaryrefslogtreecommitdiff
path: root/tcg/region.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-04 11:06:20 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-07 19:02:33 +0200
commit7893e42d5d9cafeeab30a114e8ec86517f8a1b36 (patch)
tree3c347d9ad5fd9c9c7b519cdb96e23991feaaf105 /tcg/region.c
parentc2646d49588d834c2bcc050539053074ac43d4ba (diff)
downloadqemu-7893e42d5d9cafeeab30a114e8ec86517f8a1b36.zip
qemu-7893e42d5d9cafeeab30a114e8ec86517f8a1b36.tar.gz
qemu-7893e42d5d9cafeeab30a114e8ec86517f8a1b36.tar.bz2
tcg: Correct invalid mentions of 'softmmu' by 'system-mode'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231004090629.37473-6-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg/region.c')
-rw-r--r--tcg/region.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/region.c b/tcg/region.c
index a078899..8669245 100644
--- a/tcg/region.c
+++ b/tcg/region.c
@@ -733,7 +733,7 @@ static int alloc_code_gen_buffer(size_t size, int splitwx, Error **errp)
* and then assigning regions to TCG threads so that the threads can translate
* code in parallel without synchronization.
*
- * In softmmu the number of TCG threads is bounded by max_cpus, so we use at
+ * In system-mode the number of TCG threads is bounded by max_cpus, so we use at
* least max_cpus regions in MTTCG. In !MTTCG we use a single region.
* Note that the TCG options from the command-line (i.e. -accel accel=tcg,[...])
* must have been parsed before calling this function, since it calls
@@ -749,7 +749,7 @@ static int alloc_code_gen_buffer(size_t size, int splitwx, Error **errp)
*
* However, this user-mode limitation is unlikely to be a significant problem
* in practice. Multi-threaded guests share most if not all of their translated
- * code, which makes parallel code generation less appealing than in softmmu.
+ * code, which makes parallel code generation less appealing than in system-mode
*/
void tcg_region_init(size_t tb_size, int splitwx, unsigned max_cpus)
{