Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lry2Q-0001iB-7E for qemu-devel@nongnu.org; Thu, 09 Apr 2009 13:27:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lry2L-0001fq-Fl for qemu-devel@nongnu.org; Thu, 09 Apr 2009 13:27:41 -0400 Received: from [199.232.76.173] (port=54553 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lry2L-0001fb-92 for qemu-devel@nongnu.org; Thu, 09 Apr 2009 13:27:37 -0400 Received: from lucius.provo.novell.com ([137.65.248.127]:44271) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lry2K-0003Hd-Rs for qemu-devel@nongnu.org; Thu, 09 Apr 2009 13:27:37 -0400 Message-Id: <49DDDBA40200004800071CEA@lucius.provo.novell.com> Date: Thu, 09 Apr 2009 11:27:32 -0600 From: "Bruce Rogers" Subject: Re: [Qemu-devel] [PATCH] limit guest cpus for kvm enabled builds References: <49DDC4160200004800071C73@lucius.provo.novell.com> <200904091705.20024.paul@codesourcery.com> <49DE25FD.3010503@codemonkey.ws> In-Reply-To: <49DE25FD.3010503@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 4/9/2009 at 10:44 AM, Anthony Liguori wrote: > Paul Brook wrote: >> On Thursday 09 April 2009, Bruce Rogers wrote: >> =20 >>> The x86 kvm kernel module limits guest cpu count to 16, but the = userspace >>> pc definition says 255 still. When invoking qemu-kvm with -smp > 16, = it >>> prints some error messages, then segfaults. One of the mistakes is = that >>> the error code from kvm_create_vcpu is ignored in ap_main_loop.=20 >>> =20 >> >> You should fix that bug then. >> =20 >=20 > I don't see the patch on the mailing list yet, but I'm pretty sure = your=20 > patch is against kvm-userspace.git as ap_main_loop doesn't exist in=20 > upstream QEMU. >=20 > And FWIW, we do properly handle an unsupported -smp value in upstream=20 > QEMU when using KVM. >=20 > Regards, >=20 > Anthony Liguori OK thanks. I've submitted a different patch on kvm mailing list. - Bruce