diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2016-07-12 16:09:29 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-07-14 03:29:34 -0400 |
commit | 682f732ecf7396e9d6fe24d44738966699fae6c0 (patch) | |
tree | c38d1d68e0add808a5431dc121c4ff7f0beade88 | |
parent | c519265f2aa348b2f1b9ecf8fbe20bb7c0fb102e (diff) |
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 <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
34 | #include <asm/asm.h> | 34 | #include <asm/asm.h> |
35 | #include <asm/kvm_page_track.h> | 35 | #include <asm/kvm_page_track.h> |
36 | 36 | ||
37 | #define KVM_MAX_VCPUS 255 | 37 | #define KVM_MAX_VCPUS 288 |
38 | #define KVM_SOFT_MAX_VCPUS 240 | 38 | #define KVM_SOFT_MAX_VCPUS 240 |
39 | #define KVM_USER_MEM_SLOTS 509 | 39 | #define KVM_USER_MEM_SLOTS 509 |
40 | /* memory slots that are not exposed to userspace */ | 40 | /* memory slots that are not exposed to userspace */ |