aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-03-06 11:22:47 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-03-06 11:22:47 +0000
commitd5a2afc042e4a031f55d8de032f098f130fb7a0f (patch)
treeced3b90bf8b36d2e04b06f8339e13a881860b3de
parentde13bfe74e16b666dd14b6fc1f7183d2b8115c64 (diff)
downloadqemu-arm-d5a2afc042e4a031f55d8de032f098f130fb7a0f.tar.gz
hw/arm/virt: Add "max" to the list of CPU types "virt" supports
Allow the virt board to support '-cpu max' in the same way it already handles '-cpu host'. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/virt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index dbb3c8036a..cda4b83586 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -169,6 +169,7 @@ static const char *valid_cpus[] = {
ARM_CPU_TYPE_NAME("cortex-a53"),
ARM_CPU_TYPE_NAME("cortex-a57"),
ARM_CPU_TYPE_NAME("host"),
+ ARM_CPU_TYPE_NAME("max"),
};
static bool cpu_type_valid(const char *cpu)