aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/cpu_init.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-03-09 16:19:07 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-12 14:05:26 -0500
commitecf40beae7dcbb057d4f115207f9d8276832a774 (patch)
treeebe45364ed67a75093e41d16f0583bc45b2d289b /target-sparc/cpu_init.c
parent885bb0369a4f0abe2c0185178f3cb347cb02cdf1 (diff)
initialize CPU model list after handling -readconfig options
To properly load cpudefs using -readconfig, we have to call cpudef_init() after finishing the command-line option handling. Consequently, the handling of "-cpu ?" has to be done after the command-line option handling loop, too. Without this patch, "-readconfig configfile -cpu ?" fails to list the CPU definitions read from 'configfile'. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-sparc/cpu_init.c')
0 files changed, 0 insertions, 0 deletions