Re: [PATCH v4 26/33] machine: Use error handling when CPU type is checked

2023-11-01 Thread Richard Henderson
On 11/1/23 17:24, Gavin Shan wrote: QEMU will be terminated if the specified CPU type isn't supported in machine_run_board_init(). The list of supported CPU type names is tracked by mc->valid_cpu_types. The error handling can be used to propagate error messages, to be consistent how the errors a

[PATCH v4 26/33] machine: Use error handling when CPU type is checked

2023-11-01 Thread Gavin Shan
QEMU will be terminated if the specified CPU type isn't supported in machine_run_board_init(). The list of supported CPU type names is tracked by mc->valid_cpu_types. The error handling can be used to propagate error messages, to be consistent how the errors are handled for other situations in the