From mboxrd@z Thu Jan 1 00:00:00 1970 From: Onkar N Mahajan Subject: qemu-kvm monitor command cpu_set query. Date: Wed, 08 Feb 2012 16:15:20 +0530 Message-ID: <1328697920.507.6.camel@oc4748611672.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from e23smtp04.au.ibm.com ([202.81.31.146]:44960 "EHLO e23smtp04.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755846Ab2BHKp2 (ORCPT ); Wed, 8 Feb 2012 05:45:28 -0500 Received: from /spool/local by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Feb 2012 10:30:05 +1000 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q18AeNNQ3006474 for ; Wed, 8 Feb 2012 21:40:23 +1100 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q18AjMtd002502 for ; Wed, 8 Feb 2012 21:45:22 +1100 Received: from [9.79.179.135] ([9.79.179.135]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q18AjLFo002486 for ; Wed, 8 Feb 2012 21:45:22 +1100 Sender: kvm-owner@vger.kernel.org List-ID: I am doing kernel compilation on a guest with 16 VCPUs. like this : make -j16 bzImage modules Meanwhile on qemu monitor CLI, I do this : (qemu) info cpus * CPU #0: pc=0x00002b001abec3a4 thread_id=15395 CPU #1: pc=0x00002b2b25b49da2 thread_id=15396 CPU #2: pc=0xffffffff810f65e8 thread_id=15397 CPU #3: pc=0x0000000000454762 thread_id=15398 CPU #4: pc=0x000000000092cd60 thread_id=15399 CPU #5: pc=0x0000000000612903 thread_id=15400 CPU #6: pc=0x000000000092c67c thread_id=15401 CPU #7: pc=0x000000000040b8bd thread_id=15402 CPU #8: pc=0xffffffff81036e70 thread_id=15403 CPU #9: pc=0x000000000092f870 thread_id=15404 CPU #10: pc=0x000000000041bad4 thread_id=15405 CPU #11: pc=0x00000000005f8de4 thread_id=15406 CPU #12: pc=0x00000000004ae4f4 thread_id=15407 CPU #13: pc=0x00000000004dc178 thread_id=15408 CPU #14: pc=0x0000000000414291 thread_id=15409 CPU #15: pc=0x000000000069b112 thread_id=15410 (qemu) cpu_set 15 offline (qemu) info cpus * CPU #0: pc=0xffffffff81025beb thread_id=15395 CPU #1: pc=0x00000000009328e3 thread_id=15396 CPU #2: pc=0xffffffff8124f7ad thread_id=15397 CPU #3: pc=0x000000000048b777 thread_id=15398 CPU #4: pc=0x00002b860801b7ac thread_id=15399 CPU #5: pc=0x00002b30ff2b63ea thread_id=15400 CPU #6: pc=0x00002b6f6cebf213 thread_id=15401 CPU #7: pc=0x00000000009329f8 thread_id=15402 CPU #8: pc=0xffffffff811192d0 thread_id=15403 CPU #9: pc=0x0000000000932842 thread_id=15404 CPU #10: pc=0x0000000000461788 thread_id=15405 CPU #11: pc=0x0000000000405be0 thread_id=15406 CPU #12: pc=0x00002b3b6dce84fb thread_id=15407 CPU #13: pc=0x00000000006e4c1e thread_id=15408 CPU #14: pc=0x0000000000452ee3 thread_id=15409 CPU #15: pc=0x0000000000466180 thread_id=15410 VCPU #15 is set offline - still it is shown online. Shouldn't it be shown 'halted' ? -- Onkar N Mahajan System Software Engineer, IBM Linux Technology Center, Bangalore - India