|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH v2.0 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
 
 
 
config.patch 
Description: config.patch 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH v2.0 1/6] Add a config option for memory hot add,
Jiang, Yunhong <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |