qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel] [PATCH] Introduce DEVICE_CATEGORY_CPU for CP


From: Peter Maydell
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH] Introduce DEVICE_CATEGORY_CPU for CPU devices
Date: Fri, 20 Jan 2017 12:31:07 +0000

On 20 January 2017 at 12:18, Thomas Huth <address@hidden> wrote:
> Now that the hot-pluggable CPUs show up in the help text of
> "-device ?", we should group them into an appropriate category.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
>  hw/ppc/pnv_core.c       | 1 +
>  hw/ppc/spapr_cpu_core.c | 1 +
>  include/hw/qdev-core.h  | 1 +
>  qdev-monitor.c          | 1 +
>  target/i386/cpu.c       | 2 ++
>  5 files changed, 6 insertions(+)

Can we just set the category bit in the class init functions
for the TYPE_CPU and TYPE_CPU_CORE superclasses, rather
than having to do it in a subclass for each architecture
(and thus potentially forgetting to do it for other archs) ?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]