hw/arm/integratorcp: Support specifying features via -cpu
commit00909b585861ee3dca15f3d7624aac9be0f9080f
authorJulian Brown <julian@codesourcery.com>
Tue, 7 Feb 2017 18:29:59 +0000 (7 18:29 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Feb 2017 18:29:59 +0000 (7 18:29 +0000)
tree039dca2a448b480b7f98493613aa984dd4ca65f5
parent42922105beb14c2fc58185ea022b9f72fb5465e9
hw/arm/integratorcp: Support specifying features via -cpu

Since the integratorcp board creates the CPU object directly
rather than via cpu_arm_init(), we have to call the CPU
class parse_features() method ourselves if we want to
support the user passing features via the -cpu command
line argument as well as just the cpu name. Do so.

Signed-off-by: Julian Brown <julian@codesourcery.com>
[PMM: split out into its own patch]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/integratorcp.c