diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2016-07-12 22:09:29 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-07-14 09:29:34 +0200 |
commit | 682f732ecf7396e9d6fe24d44738966699fae6c0 (patch) | |
tree | c38d1d68e0add808a5431dc121c4ff7f0beade88 /arch/x86 | |
parent | c519265f2aa348b2f1b9ecf8fbe20bb7c0fb102e (diff) | |
download | op-kernel-dev-682f732ecf7396e9d6fe24d44738966699fae6c0.zip op-kernel-dev-682f732ecf7396e9d6fe24d44738966699fae6c0.tar.gz |
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>
Diffstat (limited to 'arch/x86')
-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 074b5c7..21a40dc 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -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 */ |