From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOZTU-00042X-W7 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOZTT-00055c-Tn for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:58:56 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]:57286) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOZTT-00055O-Qy for qemu-devel@nongnu.org; Tue, 15 Jun 2010 12:58:55 -0400 Received: by iwn10 with SMTP id 10so5557197iwn.4 for ; Tue, 15 Jun 2010 09:58:54 -0700 (PDT) Message-ID: <4C17B15B.3050905@codemonkey.ws> Date: Tue, 15 Jun 2010 11:59:07 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [CFR 7/10] cpu command References: <1276619430-15871-1-git-send-email-aliguori@us.ibm.com> <1276619430-15871-8-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1276619430-15871-8-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Luiz Capitulino , qemu-devel@nongnu.org, Stefan Hajnoczi , Markus Armbruster On 06/15/2010 11:30 AM, Anthony Liguori wrote: > cpu > --- > > Set the default CPU. > We need to remove this from QMP IMHO. All QMP commands should take a CPU index. Regards, Anthony Liguori > Arguments: > > - "index": the CPU's index (json-int) > > Example: > > -> { "execute": "cpu", "arguments": { "index": 0 } } > <- { "return": {} } > > Note: CPUs' indexes are obtained with the 'query-cpus' command. > >