On Mon, Feb 22, 2016 at 10:31:17AM +0530, Bharata B Rao wrote: > Hi, > > This is an attempt to implement David Gibson's RFC that was posted at > https://lists.gnu.org/archive/html/qemu-ppc/2016-02/msg00000.html > I am not sure if I have followed all the aspects of the RFC fully, but we > can make changes going forward. > > An example cpu-package implementation is done for sPAPR in this patchset. > Hot removal is not yet done in this patchset. > > For the command line, > > -smp 8,sockets=1,cores=1,threads=8,maxcpus=16 -numa node,nodeid=0,cpus=0-7 > -numa node,nodeid=1,cpus=8-15 > > the HMP query looks like this: > > (qemu) info cpu-packages > CPU Package: "" > type: "spapr-cpu-package" > qom_path: "/machine/cpu-package[0]" > realized: true > nr_cpus: 8 > CPU: 0 > Type: "host-powerpc64-cpu" > Arch ID: 0 > Thread: 0 > Core: 0 > Socket: 0 > Node: 0
qom_path: "/machine/cpu-package[0]/thread[0]" Missed qom_path. Regards, Bharata.