public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm: x86: increase user memory slots to 509
@ 2014-11-06 15:52 Igor Mammedov
  2014-11-06 16:23 ` Paolo Bonzini
  0 siblings, 1 reply; 9+ messages in thread
From: Igor Mammedov @ 2014-11-06 15:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: pbonzini, kvm, x86

With the 3 private slots, this gives us 512 slots total.
Motivation for this is in addition to assigned devices
support more memory hotplug slots, where 1 slot is
used by a hotplugged memory stick.
It will allow to support upto 256 hotplug memory
slots and leave 253 slots for assigned devices and
other devices that use them.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
previously increased to 125 slots for assigned devices
by 0f888f5acd
---
 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 6ed0c30..cfd60e3 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -33,7 +33,7 @@
 
 #define KVM_MAX_VCPUS 255
 #define KVM_SOFT_MAX_VCPUS 160
-#define KVM_USER_MEM_SLOTS 125
+#define KVM_USER_MEM_SLOTS 509
 /* memory slots that are not exposed to userspace */
 #define KVM_PRIVATE_MEM_SLOTS 3
 #define KVM_MEM_SLOTS_NUM (KVM_USER_MEM_SLOTS + KVM_PRIVATE_MEM_SLOTS)
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-11-14 14:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 15:52 [PATCH] kvm: x86: increase user memory slots to 509 Igor Mammedov
2014-11-06 16:23 ` Paolo Bonzini
2014-11-13 16:31   ` [PATCH] kvm: memslots: replace heap sort with insertion sort Igor Mammedov
2014-11-13 16:58     ` Paolo Bonzini
2014-11-13 23:00       ` [PATCH v2] " Igor Mammedov
2014-11-14  9:57         ` Paolo Bonzini
2014-11-14 10:58           ` Igor Mammedov
2014-11-14 14:10   ` [PATCH] kvm: x86: increase user memory slots to 509 Igor Mammedov
2014-11-14 14:53     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox