On 20 January 2017 at 12:18, Thomas Huth <th...@redhat.com> 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 <th...@redhat.com> > --- > 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