Skip to contentSkip to conversation

Fix VT-i domain builder caused by cset 8916

PATCH New Tian, Kevin 1 participant 1 message Feb 22, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix VT-i domain builder caused by cset 8916

Cset 8916 missed two extra pages for VT-i domain and thus breaks domain creation. Attached patch fixes it.

Thanks,
Kevin

Missed 2 extra pages (ioreq page and xenstore page) for VTI domain, which are put outside of configured memory size.

Signed-off-by Kevin Tian <[email protected]>

tools/python/xen/xend/image.py +2 -2
diff -r 5abf652c4c52 tools/python/xen/xend/image.py
@@ -386,8 +386,8 @@
         extra_pages = 0
         if os.uname()[4] == 'ia64':
             page_kb = 16
-            # ROM size for guest firmware
-            extra_pages = 1024
+            # ROM size for guest firmware, ioreq page and xenstore page
+            extra_pages = 1024 + 2
         return mem + extra_pages * page_kb
 
     def register_shutdown_watch(self):

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel