On Thu, Aug 06, 2015 at 10:57:06AM +0530, Bharata B Rao wrote: > Hi, > > This is the next version of CPU hotplug support patchset for PowerPC > sPAPR guests. This is a split-out from the previous version (v3) that > was carrying CPU and memory hotplug together. This patchset applies on > spapr-next branch of David Gibson's tree. > > In the previous version, I was doing CPU addition at socket granularity. > One hotplug request would add one complete CPU socket with all the cores > and threads as per the boot time topology specification. Based on the > feedback for v3, I am switching back to earlier method wherein I don't > have the notion of socket device. In this version I don't create any > additional device abstraction over CPU device, but use the existing > CPU device and add full cores at once. One hotplug request will add > a complete core with all the underlying threads. > > I have enabled device_add based hotplug for POWER8 family for processors > and currently the semantics looks like this: > > (qemu) device_add POWER8-powerpc64-cpu,id=cpu8
I've cherry picked 5/11 (add 2.5 machine type) since we'll be wanting it one way or another. I have rearranged it, though, to go before the memory hotplug patches, which are already in spapr-next, but missed the 2.4 cutoff so shouldn't be enabled for the 2.4 machine type. Need to wait until I have a little more time to review the rest of the series. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
pgpNH2tESnA05.pgp
Description: PGP signature