ia64/xen-unstable

changeset 17522:ae2b5cf5a686

ia64: fix domain builder

Windows on ia64 can't boot since cset 17397:61a3e041ea12.
The memory for video RAM must be added as the x86 does.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 24 10:01:27 2008 +0100 (2008-04-24)
parents b3454459ba31
children 4e6577dec729
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Thu Apr 24 10:01:11 2008 +0100
     1.2 +++ b/tools/python/xen/xend/image.py	Thu Apr 24 10:01:27 2008 +0100
     1.3 @@ -685,7 +685,9 @@ class IA64_HVM_ImageHandler(HVMImageHand
     1.4          # ROM size for guest firmware, io page, xenstore page
     1.5          # buffer io page, buffer pio page and memmap info page
     1.6          extra_pages = 1024 + 5
     1.7 -        return mem_kb + extra_pages * page_kb
     1.8 +        mem_kb += extra_pages * page_kb
     1.9 +        # Add 8 MiB overhead for QEMU's video RAM.
    1.10 +        return mem_kb + 8192
    1.11  
    1.12      def getRequiredInitialReservation(self):
    1.13          return self.vm.getMemoryTarget()