From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT9jd-0004HW-HT for qemu-devel@nongnu.org; Wed, 04 Mar 2015 08:53:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YT9ja-0004gF-1F for qemu-devel@nongnu.org; Wed, 04 Mar 2015 08:53:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT9jZ-0004fk-Pv for qemu-devel@nongnu.org; Wed, 04 Mar 2015 08:53:09 -0500 From: Eduardo Habkost Date: Wed, 4 Mar 2015 10:52:57 -0300 Message-Id: <1425477178-25225-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v5 0/1] 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 my numa patch queue: https://github.com/ehabkost/qemu.git numa 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 Changes v3 -> v4: * Patches 1-3 from v3 are now in the numa queue (URL above) * Clarify error message when some CPUs are missing from the config Changes v4 -> v5: * Commit log update, to make problem description clearer Eduardo Habkost (1): numa: Print warning if no node is assigned to a CPU numa.c | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.1.0