Skip to content

Commit 682f732

Browse files
rkrcmarbonzini
authored andcommitted
KVM: x86: bump MAX_VCPUS to 288
288 is in high demand because of Knights Landing CPU. We cannot set the limit to 640k, because that would be wasting space. Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Radim Krčmář <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent c519265 commit 682f732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/asm/kvm_host.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include <asm/asm.h>
3535
#include <asm/kvm_page_track.h>
3636

37-
#define KVM_MAX_VCPUS 255
37+
#define KVM_MAX_VCPUS 288
3838
#define KVM_SOFT_MAX_VCPUS 240
3939
#define KVM_USER_MEM_SLOTS 509
4040
/* memory slots that are not exposed to userspace */

0 commit comments

Comments
 (0)