From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLxub-0000rJ-RS for qemu-devel@nongnu.org; Thu, 12 Feb 2015 12:50:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLxuX-00078i-Rj for qemu-devel@nongnu.org; Thu, 12 Feb 2015 12:50:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLxuX-00078c-KH for qemu-devel@nongnu.org; Thu, 12 Feb 2015 12:50:45 -0500 From: Eduardo Habkost Date: Thu, 12 Feb 2015 15:50:31 -0200 Message-Id: <1423763435-3696-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/4] NUMA: Validate CPU configuration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov , Hu Tao , "Michael S. Tsirkin" This adds extra checks to the NUMA code to make sure the CPU configuration is consistent. This needs to be applied on top of the following series: Message-Id: <1423421482-11619-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] NUMA code cleanup From: Eduardo Habkost Date: Sun, 8 Feb 2015 16:51:15 -0200 Git tree: https://github.com/ehabkost/qemu.git numa-next Changes v1 -> v2: * (none, v1 was tagged by accident and never sent to qemu-devel) Changes v2 -> v3: * Fix off-by-one error on CPU index check * Use GString and error_report() instead of calling fprintf() directly * Simplify logic of the CPUs-not-present check Eduardo Habkost (4): numa: Fix off-by-one error at MAX_CPUMASK_BITS check numa: Reject CPU indexes > max_cpus numa: Reject configuration if CPU appears on multiple nodes numa: Print warning if no node is assigned to a CPU numa.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) -- 2.1.0