From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chegu Vinod Subject: KVM_MAX_VCPUS Date: Sat, 13 Oct 2012 15:29:47 -0700 Message-ID: <5079EB5B.8080102@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: KVM Return-path: Received: from g1t0029.austin.hp.com ([15.216.28.36]:38858 "EHLO g1t0029.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648Ab2JMW3s (ORCPT ); Sat, 13 Oct 2012 18:29:48 -0400 Received: from g1t0039.austin.hp.com (g1t0039.austin.hp.com [16.236.32.45]) by g1t0029.austin.hp.com (Postfix) with ESMTP id DE881381D8 for ; Sat, 13 Oct 2012 22:29:47 +0000 (UTC) Received: from [16.212.74.22] (unknown [16.212.74.22]) by g1t0039.austin.hp.com (Postfix) with ESMTP id B171834061 for ; Sat, 13 Oct 2012 22:29:47 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: Hello, Wanted to get a clarification about KVM_MAX_VCPUS(currently set to 254) in kvm_host.h file. The kvm_vcpu *vcpus array is sized based on KVM_MAX_VCPUS. (i.e. a max of 254 elements in the array). An 8bit APIC id should allow for 256 ID's. Reserving one for Broadcast should leave 255 ID's. Is there one more ID reserved for some other purpose ? (hence leading to KVM_MAX_VCPUS being set to 254 and not 255). Thanks! Vinod