Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438738 > unrolled thread

[PATCH v2 12/13] KVM: x86: bump MAX_VCPUS to 288

Started byRadim Krčmář <rkrcmar@redhat.com>
First post2016-07-07 19:20 +0200
Last post2016-07-07 19:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 12/13] KVM: x86: bump MAX_VCPUS to 288 Radim Krčmář <rkrcmar@redhat.com> - 2016-07-07 19:20 +0200

#1438738 — [PATCH v2 12/13] KVM: x86: bump MAX_VCPUS to 288

FromRadim Krčmář <rkrcmar@redhat.com>
Date2016-07-07 19:20 +0200
Subject[PATCH v2 12/13] KVM: x86: bump MAX_VCPUS to 288
Message-ID<rSl7X-1t6-15@gated-at.bofh.it>
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>
---
 v2: r-b Paolo

 arch/x86/include/asm/kvm_host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index f1b202b34c72..e362de872139 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 */
-- 
2.9.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web