]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: Raise the hard VCPU count limit
authorSasha Levin <levinsasha928@gmail.com>
Mon, 18 Jul 2011 14:17:15 +0000 (17:17 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 29 Aug 2011 13:21:42 +0000 (16:21 +0300)
commitd36fe129f29adc372e1ee41c790d3d27f936462a
treecce9aecebbb45329f98de5bf6a6081b051d856ea
parent6ca1ace16ea456fd2363205723cd8a7de41dd6af
KVM: x86: Raise the hard VCPU count limit

The patch raises the hard limit of VCPU count to 254.

This will allow developers to easily work on scalability
and will allow users to test high VCPU setups easily without
patching the kernel.

To prevent possible issues with current setups, KVM_CAP_NR_VCPUS
now returns the recommended VCPU limit (which is still 64) - this
should be a safe value for everybody, while a new KVM_CAP_MAX_VCPUS
returns the hard limit which is now 254.

Cc: Avi Kivity <avi@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Pekka Enberg <penberg@kernel.org>
Suggested-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Documentation/virtual/kvm/api.txt
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
include/linux/kvm.h