From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [Qemu-devel] [PATCH] kvm: warn if num cpus is greater than num recommended Date: Mon, 26 Aug 2013 09:43:35 +0200 Message-ID: <521B0727.30602@redhat.com> References: <1377185968-13129-1-git-send-email-drjones@redhat.com> <52163A7F.7020402@suse.de> <795650865.3095841.1377257598867.JavaMail.root@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Eduardo Habkost , kvm@vger.kernel.org, gleb@redhat.com, libvir-list@redhat.com, mtosatti@redhat.com, qemu-devel developers To: Andrew Jones Return-path: Received: from mx1.redhat.com ([209.132.183.28]:13057 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756205Ab3HZHno (ORCPT ); Mon, 26 Aug 2013 03:43:44 -0400 In-Reply-To: <795650865.3095841.1377257598867.JavaMail.root@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 23/08/2013 13:33, Andrew Jones ha scritto: > Does smp_cpus map to the current > number of cpus, or to the number of possible cpus? If it maps to the number > of possible cpus, then this is the right place. If the former, then I guess > it'll take more thought. I'ved added Igor (still on vacation) to this reply, > but regardless I vote we worry about hot-plug limit checking in different > patch. smp_cpus is the initial number, max_cpus is the number of possible cpus. Paolo From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrSn-0002eQ-Ar for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:43:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDrSh-00087x-B9 for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:43:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrSh-00087s-42 for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:43:43 -0400 Message-ID: <521B0727.30602@redhat.com> Date: Mon, 26 Aug 2013 09:43:35 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1377185968-13129-1-git-send-email-drjones@redhat.com> <52163A7F.7020402@suse.de> <795650865.3095841.1377257598867.JavaMail.root@redhat.com> In-Reply-To: <795650865.3095841.1377257598867.JavaMail.root@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] kvm: warn if num cpus is greater than num recommended List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrew Jones Cc: kvm@vger.kernel.org, gleb@redhat.com, libvir-list@redhat.com, mtosatti@redhat.com, qemu-devel developers , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Eduardo Habkost Il 23/08/2013 13:33, Andrew Jones ha scritto: > Does smp_cpus map to the current > number of cpus, or to the number of possible cpus? If it maps to the number > of possible cpus, then this is the right place. If the former, then I guess > it'll take more thought. I'ved added Igor (still on vacation) to this reply, > but regardless I vote we worry about hot-plug limit checking in different > patch. smp_cpus is the initial number, max_cpus is the number of possible cpus. Paolo