ia64/xen-unstable

changeset 6892:b47c0ff50cdd

Don't special case getDomainMemory for ia64.
This makes how we account the "system pages" consistent.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Sep 15 09:21:10 2005 +0000 (2005-09-15)
parents 6e5cb98eff28
children e78650eb2cf0
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Thu Sep 15 09:13:21 2005 +0000
     1.2 +++ b/tools/python/xen/xend/image.py	Thu Sep 15 09:21:10 2005 +0000
     1.3 @@ -222,11 +222,7 @@ class ImageHandler:
     1.4  
     1.5      def getDomainMemory(self, mem_mb):
     1.6          """Memory (in KB) the domain will need for mem_mb (in MB)."""
     1.7 -        if os.uname()[4] == 'ia64':
     1.8 -	    """Append extra system pages, like xenstore and console"""
     1.9 -	    return (mem_mb * 1024 + 3 * 16)
    1.10 -	else:
    1.11 -            return mem_mb * 1024
    1.12 +        return mem_mb * 1024
    1.13  
    1.14      def buildDomain(self):
    1.15          """Build the domain. Define in subclass."""