target/arm: Add "-cpu max" support
commitbab52d4bba3f22921a690a887b4bd0342f2754cd
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Mar 2018 17:09:44 +0000 (9 17:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Mar 2018 17:09:44 +0000 (9 17:09 +0000)
treef3a9bf5ba7042c7726612047bfb296fa9006b220
parent86f0a186d6f05c429e982628fe5a2aa7ea1e2724
target/arm: Add "-cpu max" support

Add support for "-cpu max" for ARM guests. This CPU type behaves
like "-cpu host" when KVM is enabled, and like a system CPU with
the maximum possible feature set otherwise. (Note that this means
it won't be migratable across versions, as we will likely add
features to it in future.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180308130626.12393-4-peter.maydell@linaro.org
target/arm/cpu-qom.h
target/arm/cpu.c
target/arm/cpu64.c