diff options
author | Eduardo Habkost | 2012-03-09 20:19:07 +0100 |
---|---|---|
committer | Anthony Liguori | 2012-03-12 20:05:26 +0100 |
commit | ecf40beae7dcbb057d4f115207f9d8276832a774 (patch) | |
tree | ebe45364ed67a75093e41d16f0583bc45b2d289b /ui | |
parent | add Opteron_G4 CPU model (v2) (diff) | |
download | qemu-ecf40beae7dcbb057d4f115207f9d8276832a774.tar.gz qemu-ecf40beae7dcbb057d4f115207f9d8276832a774.tar.xz qemu-ecf40beae7dcbb057d4f115207f9d8276832a774.zip |
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 'ui')
0 files changed, 0 insertions, 0 deletions