From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXnmO-00021i-UB for qemu-devel@nongnu.org; Thu, 02 May 2013 03:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXnmM-0003NI-M9 for qemu-devel@nongnu.org; Thu, 02 May 2013 03:18:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXnmM-0003Mh-EV for qemu-devel@nongnu.org; Thu, 02 May 2013 03:18:10 -0400 Date: Thu, 2 May 2013 09:18:06 +0200 From: Igor Mammedov Message-ID: <20130502091806.39e109ee@thinkpad> In-Reply-To: <51816DEB.1070502@suse.de> References: <1367329288-27178-6-git-send-email-imammedo@redhat.com> <1367337653-557-1-git-send-email-imammedo@redhat.com> <51816DEB.1070502@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 5/5] target-i386: implement machine->hot_add_cpu hook List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?ISO-8859-1?B?RuRyYmVy?= Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, ehabkost@redhat.com On Wed, 01 May 2013 21:32:59 +0200 Andreas F=E4rber wrote: > Am 30.04.2013 18:00, schrieb Igor Mammedov: > > Signed-off-by: Igor Mammedov > > --- > > v3: > > * use local static variable for saving cpu_model > >=20 > > v2: > > * override .hot_add_cpu statically starting with 1.5 machine >=20 > Thanks, applied to qom-cpu: > https://github.com/afaerber/qemu-cpu/commits/qom-cpu >=20 > I verified it's working as expected in Windows 2012 Datacenter, but > neither in openSUSE 12.3 nor in Fedora 18 Live DVD did I see any change > in /proc/cpuinfo or GNOME System Monitor. Right after hot-add a new CPU entry should appear in /sys/devices/system/cpu then kernel doesn't online hot-added CPUs automatically, one needs online a new CPU manually, for example issuing following command: echo 1 > /sys/devices/system/cpu/cpuXX/online > Andreas >=20 > --=20 > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg --=20 Regards, Igor