From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQKfm-0001Db-LM for qemu-devel@nongnu.org; Tue, 24 Feb 2015 13:57:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQKfj-0008KO-BT for qemu-devel@nongnu.org; Tue, 24 Feb 2015 13:57:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQKfj-0008KB-4i for qemu-devel@nongnu.org; Tue, 24 Feb 2015 13:57:31 -0500 From: Eduardo Habkost Date: Tue, 24 Feb 2015 15:57:22 -0300 Message-Id: <1424804243-23786-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v4 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 already in the numa queue (URL above) * Clarify error message when some CPUs are missing from the config 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