aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-29 16:18:23 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-02-02 13:51:58 +0000
commit104395bc661b41055aaae1d8eb95bd2d99bdd20f (patch)
tree13a233b8a541a699c8dce6523c98121639646d9e /backends
parent6a4e61170f2b7769cd9034c0fdf05f6c64a74fbf (diff)
downloadqemu-104395bc661b41055aaae1d8eb95bd2d99bdd20f.zip
qemu-104395bc661b41055aaae1d8eb95bd2d99bdd20f.tar.gz
qemu-104395bc661b41055aaae1d8eb95bd2d99bdd20f.tar.bz2
hw/arm/highbank: Check for CPU types in machine_run_board_init()
Restrict MachineClass::valid_cpu_types[] to the single valid CPU types. Instead of ignoring invalid CPU type requested by the user: $ qemu-system-arm -M midway -cpu cortex-a7 -S -monitor stdio QEMU 8.2.50 monitor - type 'help' for more information (qemu) info qom-tree /machine (midway-machine) /cpu[0] (cortex-a15-arm-cpu) ... we now display an error: $ qemu-system-arm -M midway -cpu cortex-a7 qemu-system-arm: Invalid CPU model: cortex-a7 The only valid type is: cortex-a15 Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Message-id: 20240129151828.59544-5-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions