|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] Don't special case getDomainMemory for ia64.
 
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID b47c0ff50cdd9aaf49979f501a3cf661217c813b
# Parent  6e5cb98eff285b735504f6362c4abfc06dda6e94
Don't special case getDomainMemory for ia64.
This makes how we account the "system pages" consistent.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
diff -r 6e5cb98eff28 -r b47c0ff50cdd tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Thu Sep 15 09:13:21 2005
+++ b/tools/python/xen/xend/image.py    Thu Sep 15 09:21:10 2005
@@ -222,11 +222,7 @@
 
     def getDomainMemory(self, mem_mb):
         """Memory (in KB) the domain will need for mem_mb (in MB)."""
-        if os.uname()[4] == 'ia64':
-           """Append extra system pages, like xenstore and console"""
-           return (mem_mb * 1024 + 3 * 16)
-       else:
-            return mem_mb * 1024
+        return mem_mb * 1024
 
     def buildDomain(self):
         """Build the domain. Define in subclass."""
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] Don't special case getDomainMemory for ia64.,
Xen patchbot -unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |