[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1/6] Add a config option for memory hot add



This patch add an option for memory hot add.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>

diff -r d5c97cd22d6f xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Thu Jun 25 14:30:00 2009 +0100
+++ b/xen/include/asm-x86/config.h      Thu Jun 25 21:40:56 2009 +0800
@@ -41,6 +41,10 @@
 
 #define CONFIG_HOTPLUG 1
 #define CONFIG_HOTPLUG_CPU 1
+#define CONFIG_MEMORY_HOTPLUG   1
+
+/* In x86_32, we support only 16G at most */
+#define X86_MAX_PFN  (16UL << (30 - PAGE_SHIFT))
 
 #define HZ 100
 

Attachment: config.patch
Description: config.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.