]> www.infradead.org Git - qemu-nvme.git/commit
hw/riscv/shakti_c: Check CPU type in machine_run_board_init()
authorGavin Shan <gshan@redhat.com>
Mon, 4 Dec 2023 00:47:26 +0000 (10:47 +1000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commitcd75cc633709ceb5ef26a7fc0bbc6e7c6444a9c8
tree29f5ff0c80bf0bedced9c54ba7f144c5dfa4d951
parent3e71f4a706560406e320eaff7d622efd12912e7e
hw/riscv/shakti_c: 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>
Message-ID: <20231204004726.483558-10-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/riscv/shakti_c.c