Commit 682f732e authored by Radim Krčmář's avatar Radim Krčmář Committed by Paolo Bonzini

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent c519265f
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/kvm_page_track.h> #include <asm/kvm_page_track.h>
#define KVM_MAX_VCPUS 255 #define KVM_MAX_VCPUS 288
#define KVM_SOFT_MAX_VCPUS 240 #define KVM_SOFT_MAX_VCPUS 240
#define KVM_USER_MEM_SLOTS 509 #define KVM_USER_MEM_SLOTS 509
/* memory slots that are not exposed to userspace */ /* memory slots that are not exposed to userspace */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment