]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Increase the "hard" max VCPU limit
authorChegu Vinod <chegu_vinod@hp.com>
Sun, 28 Apr 2013 01:31:04 +0000 (18:31 -0700)
committerGleb Natapov <gleb@redhat.com>
Sun, 28 Apr 2013 10:17:48 +0000 (13:17 +0300)
commitd52b00602d633c2c49c5f12dd4662dc7a447915e
tree569dc33d28fe0f275847d1e5f1343bd045a27c31
parent29c9137e0e5a6ead65b04d351db3361f3908c28c
KVM: x86: Increase the "hard" max VCPU limit

KVM guests today use 8bit APIC ids allowing for 256 ID's. Reserving one
ID for Broadcast interrupts should leave 255 ID's. In case of KVM there
is no need for reserving another ID for IO-APIC so the hard max limit for
VCPUS can be increased from 254 to 255. (This was confirmed by Gleb Natapov
http://article.gmane.org/gmane.comp.emulators.kvm.devel/99713  )

Signed-off-by: Chegu Vinod <chegu_vinod@hp.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/include/asm/kvm_host.h