Received: from eggs.gnu.org ([2001:4830:134:3::10]:37922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMnqW-0005Pg-Ew for qemu-devel@nongnu.org; Mon, 11 Jul 2016 22:54:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMnqS-0006XX-Ag for qemu-devel@nongnu.org; Mon, 11 Jul 2016 22:54:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMnqS-0006XK-4t for qemu-devel@nongnu.org; Mon, 11 Jul 2016 22:54:48 -0400 Date: Mon, 11 Jul 2016 23:54:42 -0300 From: Eduardo Habkost Message-ID: <20160712025442.GG19132@thinpad.lan.raisama.net> References: <1467786055-85835-1-git-send-email-imammedo@redhat.com> <1467786055-85835-9-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467786055-85835-9-git-send-email-imammedo@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 08/19] pc: implement query-hotpluggable-cpus callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, pkrempa@redhat.com, mst@redhat.com, armbru@redhat.com, eduardo.otubo@profitbricks.com, marcel@redhat.com, pbonzini@redhat.com, rth@twiddle.net On Wed, Jul 06, 2016 at 08:20:44AM +0200, Igor Mammedov wrote: > it returns a list of present/possible to hotplug CPU > objects with a list of properties to use with > device_add. > > in PC case returned list would looks like: > -> { "execute": "query-hotpluggable-cpus" } > <- {"return": [ > { > "type": "qemu64-x86_64-cpu", "vcpus-count": 1, > "props": {"core-id": 0, "socket-id": 1, "thread-id": 0} > }, > { > "qom-path": "/machine/unattached/device[0]", > "type": "qemu64-x86_64-cpu", "vcpus-count": 1, > "props": {"core-id": 0, "socket-id": 0, "thread-id": 0} > } > ]} > > Signed-off-by: Igor Mammedov Reviewed-by: Eduardo Habkost But shouldn't this be at the end of the series, or at least after the code that makes device_add work with X86CPU? -- Eduardo