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

[Xen-changelog] [xen-unstable] ia64: fix domain builder



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209027687 -3600
# Node ID ae2b5cf5a68647394e503957ff28e1a334efdab9
# Parent  b3454459ba31e79c509f6dcdfdf248440c2dd185
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@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r b3454459ba31 -r ae2b5cf5a686 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Thu Apr 24 10:01:11 2008 +0100
+++ b/tools/python/xen/xend/image.py    Thu Apr 24 10:01:27 2008 +0100
@@ -685,7 +685,9 @@ class IA64_HVM_ImageHandler(HVMImageHand
         # ROM size for guest firmware, io page, xenstore page
         # buffer io page, buffer pio page and memmap info page
         extra_pages = 1024 + 5
-        return mem_kb + extra_pages * page_kb
+        mem_kb += extra_pages * page_kb
+        # Add 8 MiB overhead for QEMU's video RAM.
+        return mem_kb + 8192
 
     def getRequiredInitialReservation(self):
         return self.vm.getMemoryTarget()

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


 


Rackspace

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