]> www.infradead.org Git - qemu-nvme.git/commit
hw/arm/sbsa-ref: Check CPU type in machine_run_board_init()
authorGavin Shan <gshan@redhat.com>
Mon, 4 Dec 2023 00:47:24 +0000 (10:47 +1000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commitdbf8e8c4332820c3b4e5a85f039fe758c6a26b97
treef7b73473672491179177aec4984429743a0fd126
parentfa8c61779183f65d3d4bbc0b00a1a9a9f6a5c57e
hw/arm/sbsa-ref: Check CPU type in machine_run_board_init()

Set mc->valid_cpu_types so that the user specified CPU type can
be validated in machine_run_board_init(). We needn't to do it
by ourselves.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231204004726.483558-8-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/sbsa-ref.c