Hi, This patchset carries the changes that are pre-requisites to support CPU hotplug for sPAPR guests.
Changes in v5 ------------- - Fixed indentation issues pointed by Alexey. - Removed the user of MSR_EP with the understanding that this or an equivalent define can be used/introduced in a separate patch. - Dropped the last patch "xics_kvm: Add cpu_destroy method to XICS" since it wasn't being used in this series. v4 - http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg01653.html This series applies against spapr-next branch of David Gibson's tree. Bharata B Rao (7): spapr: Consider max_cpus during xics initialization spapr: Support ibm,lrdr-capacity device tree property cpus: Add a macro to walk CPUs in reverse spapr: Reorganize CPU dt generation code spapr: Consolidate cpu init code into a routine ppc: Update cpu_model in MachineState xics_kvm: Don't enable KVM_CAP_IRQ_XICS if already enabled docs/specs/ppc-spapr-hotplug.txt | 18 ++ hw/intc/xics_kvm.c | 10 ++ hw/ppc/mac_newworld.c | 10 +- hw/ppc/mac_oldworld.c | 7 +- hw/ppc/ppc440_bamboo.c | 7 +- hw/ppc/prep.c | 7 +- hw/ppc/spapr.c | 349 ++++++++++++++++++++++----------------- hw/ppc/spapr_rtas.c | 16 ++ hw/ppc/virtex_ml507.c | 7 +- include/hw/ppc/spapr.h | 2 + include/hw/ppc/xics.h | 1 + include/qom/cpu.h | 2 + 12 files changed, 259 insertions(+), 177 deletions(-) -- 2.1.0