Received: from eggs.gnu.org ([2001:4830:134:3::10]:51626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDe8l-0003ai-94 for qemu-devel@nongnu.org; Tue, 20 Jan 2015 14:07:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDe8i-00082u-BV for qemu-devel@nongnu.org; Tue, 20 Jan 2015 14:07:03 -0500 Received: from mailpro.odiso.net ([89.248.209.98]:38498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDe8i-00082i-2w for qemu-devel@nongnu.org; Tue, 20 Jan 2015 14:07:00 -0500 Date: Tue, 20 Jan 2015 20:06:57 +0100 (CET) From: Alexandre DERUMIER Message-ID: <918972069.4708771.1421780817584.JavaMail.zimbra@oxygem.tv> In-Reply-To: <1789085063.4708770.1421780811020.JavaMail.zimbra@oxygem.tv> References: <1274806254.3641413.1420799168297.JavaMail.zimbra@oxygem.tv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] cpu hotplug and windows guest (win2012r2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: qemu-devel Hi, I have tried with numa enabled, and it's still don't work. Can you send me your vm qemu command line ? Also, with numa I have notice something strange with "info numa" command. starting with -smp socket=3D2,cores=3D1 # info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: 1 node 1 size: 2048 MB ok now: starting with -smp 1,socket=3D2,cores=3D1,maxcpus=3D2 # info numa 2 nodes node 0 cpus: 0 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MB ok now hotplug cpu # cpu-add 1 # info numa 2 nodes node 0 cpus: 0 1 node 0 size: 2048 MB node 1 cpus: node 1 size: 2048 MB cpu1 has been hotplugged on numa node0 ?????? ----- Mail original ----- De: "Andrey Korolyov" =C3=80: "aderumier" Cc: "qemu-devel" Envoy=C3=A9: Mercredi 14 Janvier 2015 17:07:41 Objet: Re: [Qemu-devel] cpu hotplug and windows guest (win2012r2) On Fri, Jan 9, 2015 at 4:35 PM, Andrey Korolyov wrote:=20 > On Fri, Jan 9, 2015 at 1:26 PM, Alexandre DERUMIER = wrote:=20 >> Hi,=20 >>=20 >> I'm currently testing cpu hotplug with a windows 2012R2 standard guest,= =20 >>=20 >> and I can't get it too work. (works fine with linux guest).=20 >>=20 >> host kernel : rhel7 3.10 kernel=20 >> qemu 2.2=20 >>=20 >>=20 >> qemu command line : -smp cpus=3D1,sockets=3D2,cores=3D1,maxcpus=3D2=20 >>=20 >> Started with 1cpu, topogoly is 2sockets with 1cores.=20 >>=20 >>=20 >> Then=20 >>=20 >> qmp# cpu-add 1=20 >>=20 >>=20 >> I can see a new cpu is windows device manager, and event log in the devi= ce said that it's online.=20 >>=20 >> So it should be ok, but.=20 >>=20 >> I can't see new processor in taskmanager or perfmon. (I had tried to rel= aunch them to be sure.).=20 >>=20 >>=20 >> So, it is a windows bug ? Does I need to do something else ?=20 >>=20 >=20 > Did you populated appropriate topology in arguments? As far as I can=20 > remember from pre-1.1 era CPU hotplug not worked with windows, so it=20 > should be neither lack of configured NUMA or a simply OS-specific=20 > issue.=20 Just to let anyone know that it works well:=20 http://xdel.ru/downloads/windows-hotplugged-cpu.png=20 Topology is a bit rotten (I have two sockets with single CPU in each)=20 and I *need* to specify non-zero amount of memory for each numa node=20 to be seen, if each CPU belongs to different node for example but=20 everything else is just fine.=20