From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul0Sx-0007YC-JH for qemu-devel@nongnu.org; Fri, 07 Jun 2013 13:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ul0Sv-000896-2T for qemu-devel@nongnu.org; Fri, 07 Jun 2013 13:28:43 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:36129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul0Su-00088z-VB for qemu-devel@nongnu.org; Fri, 07 Jun 2013 13:28:41 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 7 Jun 2013 13:28:40 -0400 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 0181A6E8054 for ; Fri, 7 Jun 2013 13:28:05 -0400 (EDT) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r57HS89d314486 for ; Fri, 7 Jun 2013 13:28:08 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r57HS8Lm018272 for ; Fri, 7 Jun 2013 14:28:08 -0300 From: "Jason J. Herne" Date: Fri, 7 Jun 2013 13:27:59 -0400 Message-Id: <1370626087-840-1-git-send-email-jjherne@us.ibm.com> Subject: [Qemu-devel] [PATCH 0/8] [PATCH RFC v2] s390-qemu: cpu hotplug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, imammedo@redhat.com, qemu-devel@nongnu.org, ehabkost@redhat.com Latest code for cpu Hotplug designed to be controled via the QOM infrastructure. cpu on S390 are treated as devices via a new platform independent infrastructure I designed to allow this "new way" to exist with the "old way" of representing cpus. The Qemu command line now allows "-device s390-cpu" which will instantiate a cpu device. This is additive to anything that might be specified on the -smp parameter. Devices can be hot plugged via the monitor command "device_add s390-cpu". Hotplugged cpus are created in the configured state and can be used by the guest after the guest onlines the cpu by: "echo 1 > /sys/bus/cpu/devices/cpuN/online" Hot unplugging is currently not implemented by this code.