From: Radim Krčmář Date: Tue, 12 Jul 2016 20:09:29 +0000 (+0200) Subject: KVM: x86: bump MAX_VCPUS to 288 X-Git-Tag: v6.1~16080^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=682f732ecf7396e9d6fe24d44738966699fae6c0;p=sdk%2Femulator%2Femulator-kernel.git 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 Signed-off-by: Radim Krčmář Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 074b5c760327..21a40dc7aad6 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -34,7 +34,7 @@ #include #include -#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 */