Skip to content

Commit

Permalink
KVM: x86: bump MAX_VCPUS to 288
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rkrcmar authored and bonzini committed Jul 14, 2016
1 parent c519265 commit 682f732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <asm/asm.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_USER_MEM_SLOTS 509
/* memory slots that are not exposed to userspace */
Expand Down

0 comments on commit 682f732

Please sign in to comment.