aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-04 11:06:18 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-07 19:02:33 +0200
commit54b99122eb01eb78e2933da4c476d166e846d572 (patch)
tree14c3802965b535f9ea778a0bb29d7b5db94104fe
parent27703590316efc1be5ff1ad8f209d9c5e2f8304b (diff)
downloadqemu-54b99122eb01eb78e2933da4c476d166e846d572.zip
qemu-54b99122eb01eb78e2933da4c476d166e846d572.tar.gz
qemu-54b99122eb01eb78e2933da4c476d166e846d572.tar.bz2
cpu: Correct invalid mentions of 'softmmu' by 'system-mode'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231004090629.37473-4-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--cpu-target.c2
-rw-r--r--hw/core/cpu-common.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu-target.c b/cpu-target.c
index 658d179..79363ae 100644
--- a/cpu-target.c
+++ b/cpu-target.c
@@ -202,7 +202,7 @@ static Property cpu_common_props[] = {
prctl_unalign_sigbus, false),
#else
/*
- * Create a memory property for softmmu CPU object, so users can
+ * Create a memory property for system CPU object, so users can
* wire up its memory. The default if no link is set up is to use
* the system address space.
*/
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c
index 4d40699..bab8942 100644
--- a/hw/core/cpu-common.c
+++ b/hw/core/cpu-common.c
@@ -228,8 +228,8 @@ static void cpu_common_initfn(Object *obj)
cpu->cpu_index = UNASSIGNED_CPU_INDEX;
cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX;
cpu->gdb_num_regs = cpu->gdb_num_g_regs = cc->gdb_num_core_regs;
- /* *-user doesn't have configurable SMP topology */
- /* the default value is changed by qemu_init_vcpu() for softmmu */
+ /* user-mode doesn't have configurable SMP topology */
+ /* the default value is changed by qemu_init_vcpu() for system-mode */
cpu->nr_cores = 1;
cpu->nr_threads = 1;
cpu->cflags_next_tb = -1;