]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
KVM: x86: bump MAX_VCPUS to 288
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 12 Jul 2016 20:09:29 +0000 (22:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2016 07:29:34 +0000 (09:29 +0200)
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 <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h

index 074b5c760327a3132de3b12de25e78c374074b51..21a40dc7aad6f7261669875f34cdbbb79890e748 100644 (file)
@@ -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 */