Received: from eggs.gnu.org ([208.118.235.92]:39796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USWs7-00030u-UO for qemu-devel@nongnu.org; Wed, 17 Apr 2013 14:14:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USWs6-0007Ur-OT for qemu-devel@nongnu.org; Wed, 17 Apr 2013 14:14:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USWs6-0007Um-Gl for qemu-devel@nongnu.org; Wed, 17 Apr 2013 14:14:18 -0400 Date: Wed, 17 Apr 2013 15:14:11 -0300 From: Eduardo Habkost Message-ID: <20130417181411.GA2900@otherpad.lan.raisama.net> References: <1364971345-3110-1-git-send-email-jfrei@linux.vnet.ibm.com> <516EE4AD.3090508@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <516EE4AD.3090508@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC/PATCH 0/1] cpu hotplug for s390 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: qemu-devel , Alexander Graf , Christian Borntraeger , Jens Freimann , Cornelia Huck , Igor Mammedov On Wed, Apr 17, 2013 at 08:06:37PM +0200, Andreas F=E4rber wrote: > Hi Jens, >=20 > Am 03.04.2013 08:42, schrieb Jens Freimann: > > this is what our approach to CPU hotplug looks like. > > With respect to Igor's CPU hotplug series, how should we proceed?=20 > > Should we change the interface to=20 > > qemu_system_cpu_add_notifier/qemu_system_cpu_hotplug_request/cpu-add = etc? >=20 > I am wondering if my recent qdev/device_add fixes would allow to > implement CPU hot-add via device_add for s390x? >=20 > Background is that for x86 we currently have a flat CPU core/thread > namespace but would need to deal with sockets, cores and threads to get > topologies right. I assume there are no such issues on s390x, so that > the vCPU to CPUState mapping could stay 1:1? Also: x86 has a huge number of CPU models we want to convert to separate classes, and a huge number of configurable CPU features we want to expose as device properties. If we don't need any of that on s390x, I agree that it may be reasonable to try to make device_add work. --=20 Eduardo