summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2016-07-12 22:09:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-14 09:29:34 +0200
commit682f732ecf7396e9d6fe24d44738966699fae6c0 (patch)
treec38d1d68e0add808a5431dc121c4ff7f0beade88 /arch/x86/include
parentc519265f2aa348b2f1b9ecf8fbe20bb7c0fb102e (diff)
downloadtalos-obmc-linux-682f732ecf7396e9d6fe24d44738966699fae6c0.tar.gz
talos-obmc-linux-682f732ecf7396e9d6fe24d44738966699fae6c0.zip
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/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
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 @@
#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 */
OpenPOWER on IntegriCloud