diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2012-03-09 16:19:07 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-12 14:05:26 -0500 |
commit | ecf40beae7dcbb057d4f115207f9d8276832a774 (patch) | |
tree | ebe45364ed67a75093e41d16f0583bc45b2d289b /test-string-input-visitor.c | |
parent | 885bb0369a4f0abe2c0185178f3cb347cb02cdf1 (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 'test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions