From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: KVM_MAX_VCPUS Date: Sat, 13 Oct 2012 22:32:13 -0400 Message-ID: <507A242D.9070708@gmail.com> References: <5079EB5B.8080102@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: KVM To: Chegu Vinod Return-path: Received: from mail-qa0-f53.google.com ([209.85.216.53]:54924 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245Ab2JNCc0 (ORCPT ); Sat, 13 Oct 2012 22:32:26 -0400 Received: by mail-qa0-f53.google.com with SMTP id s11so514815qaa.19 for ; Sat, 13 Oct 2012 19:32:26 -0700 (PDT) In-Reply-To: <5079EB5B.8080102@hp.com> Sender: kvm-owner@vger.kernel.org List-ID: On 10/13/2012 06:29 PM, Chegu Vinod wrote: > 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). Another ID goes to the IO-APIC. Thanks, Sasha