[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted |
Date: |
Thu, 8 Mar 2018 19:53:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 08.03.2018 18:28, Paolo Bonzini wrote:
> Unify half a dozen copies of very similar code (the only difference being
> whether comparisons were case-sensitive) and use it also in Tricore,
> which did not do any sorting of CPU model names.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> include/qom/object.h | 11 +++++++++++
> qdev-monitor.c | 9 +--------
> qom/object.c | 13 +++++++++++++
> target/alpha/cpu.c | 15 +--------------
> target/hppa/cpu.c | 15 +--------------
> target/lm32/cpu.c | 15 +--------------
> target/sh4/cpu.c | 15 +--------------
> target/tricore/helper.c | 2 +-
> 8 files changed, 30 insertions(+), 65 deletions(-)
Reviewed-by: Thomas Huth <address@hidden>