Re: [PATCH v7 1/8] machine: Use error handling when CPU type is checked

2023-11-28 Thread Gavin Shan
Hi Phil, On 11/28/23 20:43, Philippe Mathieu-Daudé wrote: On 27/11/23 00:12, 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 t

Re: [PATCH v7 1/8] machine: Use error handling when CPU type is checked

2023-11-28 Thread Philippe Mathieu-Daudé
Hi Gavin, On 27/11/23 00:12, 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

[PATCH v7 1/8] machine: Use error handling when CPU type is checked

2023-11-26 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