aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/main.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2019-04-16 23:59:40 -0300
committerEduardo Habkost <ehabkost@redhat.com>2019-04-25 14:17:35 -0300
commitc1c8cfe5f983aff0fcb018b0f0a11dd4580cc88e (patch)
tree5e5b4a423320b65fec76d1b78757e91a6560e5a5 /bsd-user/main.c
parent12cb82fdf01e9110455b2c55172c751531500d87 (diff)
downloadqemu-c1c8cfe5f983aff0fcb018b0f0a11dd4580cc88e.zip
qemu-c1c8cfe5f983aff0fcb018b0f0a11dd4580cc88e.tar.gz
qemu-c1c8cfe5f983aff0fcb018b0f0a11dd4580cc88e.tar.bz2
cpu: Rename parse_cpu_model() to parse_cpu_option()
The "model[,option...]" string parsed by the function is not just a CPU model. Rename the function and its argument to indicate it expects the full "-cpu" option to be provided. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20190417025944.16154-2-ehabkost@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r--bsd-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index a8c807e..6192e9d 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -905,7 +905,7 @@ int main(int argc, char **argv)
/* init tcg before creating CPUs and to get qemu_host_page_size */
tcg_exec_init(0);
- cpu_type = parse_cpu_model(cpu_model);
+ cpu_type = parse_cpu_option(cpu_model);
cpu = cpu_create(cpu_type);
env = cpu->env_ptr;
#if defined(TARGET_SPARC) || defined(TARGET_PPC)