From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXimC-0001od-Ju for qemu-devel@nongnu.org; Mon, 22 Feb 2016 00:11:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXim7-0006Ot-IN for qemu-devel@nongnu.org; Mon, 22 Feb 2016 00:11:16 -0500 Received: from e28smtp09.in.ibm.com ([125.16.236.9]:33908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXim6-0006Il-KH for qemu-devel@nongnu.org; Mon, 22 Feb 2016 00:11:11 -0500 Received: from localhost by e28smtp09.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 22 Feb 2016 10:41:04 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay02.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u1M5Aueu26214506 for ; Mon, 22 Feb 2016 10:40:57 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u1M5Aw4U024520 for ; Mon, 22 Feb 2016 10:40:59 +0530 Date: Mon, 22 Feb 2016 10:40:56 +0530 From: Bharata B Rao Message-ID: <20160222051056.GE9382@in.ibm.com> References: <1456117285-22273-1-git-send-email-bharata@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456117285-22273-1-git-send-email-bharata@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [RFC PATCH v0 0/8] cpu-package hotplug Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, aik@ozlabs.ru, agraf@suse.de, armbru@redhat.com, pbonzini@redhat.com, imammedo@redhat.com, afaerber@suse.de, david@gibson.dropbear.id.au 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.