summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorIgor Mammedov2016-06-09 19:11:02 +0200
committerEduardo Habkost2016-07-07 20:25:05 +0200
commit09f71b054a95161950a03fafc9023637929bd404 (patch)
treedea984736d97ae43279b0d5f6020b184585171f7 /scripts/switch-timer-api
parentcpu: Use CPUClass->parse_features() as convertor to global properties (diff)
downloadqemu-09f71b054a95161950a03fafc9023637929bd404.tar.gz
qemu-09f71b054a95161950a03fafc9023637929bd404.tar.xz
qemu-09f71b054a95161950a03fafc9023637929bd404.zip
arm: virt: Parse cpu_model only once
Considering that features are converted to global properties and global properties are automatically applied to every new instance of created CPU (at object_new() time), there is no point in parsing cpu_model string every time a CPU created. So move parsing outside CPU creation loop and do it only once. Parsing also should be done before any CPU is created so that features would affect the first CPU a well. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions