All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chegu Vinod <chegu_vinod@hp.com>
To: KVM <kvm@vger.kernel.org>
Subject: KVM_MAX_VCPUS
Date: Sat, 13 Oct 2012 15:29:47 -0700	[thread overview]
Message-ID: <5079EB5B.8080102@hp.com> (raw)

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


             reply	other threads:[~2012-10-13 22:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 22:29 Chegu Vinod [this message]
2012-10-14  2:32 ` KVM_MAX_VCPUS Sasha Levin
2012-10-14  9:08   ` KVM_MAX_VCPUS Gleb Natapov
2012-10-14 13:42     ` KVM_MAX_VCPUS Chegu Vinod
2012-10-17  2:57       ` KVM_MAX_VCPUS Wei, Bing (WeiBing, MCXS-SH)
2012-10-17  7:21         ` KVM_MAX_VCPUS Gleb Natapov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5079EB5B.8080102@hp.com \
    --to=chegu_vinod@hp.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.