From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6Ad-0000cL-Nx for qemu-devel@nongnu.org; Mon, 25 Mar 2013 08:06:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK6AY-000514-O6 for qemu-devel@nongnu.org; Mon, 25 Mar 2013 08:06:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK6AY-00050m-Fd for qemu-devel@nongnu.org; Mon, 25 Mar 2013 08:06:30 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2PC6TV2016928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 25 Mar 2013 08:06:29 -0400 Message-ID: <51503DC3.6070800@redhat.com> Date: Mon, 25 Mar 2013 13:06:27 +0100 From: Michal Novotny MIME-Version: 1.0 References: <20130321085103.6c684e1a@doriath> In-Reply-To: <20130321085103.6c684e1a@doriath> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Introduce query-cpu-max QMP command and cpu_max HMP counterpart List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org On 03/21/2013 01:51 PM, Luiz Capitulino wrote: > On Tue, 12 Mar 2013 17:03:31 +0100 > Michal Novotny wrote: > >> This is the patch to introduce the query-cpu-max QMP command to get >> the maximum number of CPUs supported by the currently running emulator >> instance. This may differ machine from machine as defined by -machine >> settings and max_cpus member of QEMUMachine structure. >> >> It's been tested both using QMP/qmp utility and telnet session on >> the QEMU session. > Patch looks good, but it doesn't build. See below. Thanks! I've rebased but I don't know why it didn't apply before. I sent v2 to the list about a minute ago with Markus' comments taken in account (thanks Markus!). Everything compiled fine for all archs and it's been tested for x86_64 and ARM architectures (Raspbian ARM image is the only one for non-x86 arch I have on my laptop). Thanks, Michal -- Michal Novotny , RHCE, Red Hat Virtualization | libvirt-php bindings | php-virt-control.org