|
From: | Gavin Shan |
Subject: | Re: [PATCH v3 01/32] cpu: Add helper cpu_model_from_type() |
Date: | Fri, 8 Sep 2023 09:35:55 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 9/7/23 18:54, Philippe Mathieu-Daudé wrote:
On 7/9/23 02:35, Gavin Shan wrote:Add helper cpu_model_from_type() to extract the CPU model name from the CPU type name in two circumstances: (1) The CPU type name is the combination of the CPU model name and suffix. (2) The CPU type name is same to the CPU model name. The helper will be used in the subsequent patches to conver the"patches to conver" -> "commits to convert"
Thanks, it will be fixed in next respin.
CPU type name to the CPU model name. Suggested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Gavin Shan <gshan@redhat.com> --- cpu.c | 16 ++++++++++++++++ include/hw/core/cpu.h | 12 ++++++++++++ 2 files changed, 28 insertions(+)
Thanks, Gavin
[Prev in Thread] | Current Thread | [Next in Thread] |