Re: [PATCH] target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none

2020-01-31 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200131212742.18579-1-l...@suse.com/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH] target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none Message-id

[PATCH] target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none

2020-01-31 Thread Liang Yan
>From commit e19afd56, we know target-arm restricts the list of queryable cpu models to 'max', 'host', and the current type when KVM is in use. The logic works well until using machine type none. For machine type none, cpu_type will be null, and strlen(cpu_type) will terminate process. So I add a