|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86: remove pointless dom0 check
This check is redundant with a check a few dozen lines up resulting in
a panic().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- 2009-01-08.orig/xen/arch/x86/domain_build.c 2008-12-22 14:49:00.000000000
+0100
+++ 2009-01-08/xen/arch/x86/domain_build.c 2009-01-08 10:56:13.000000000
+0100
@@ -430,14 +430,6 @@ int __init construct_dom0(
_p(v_start), _p(v_end));
printk(" ENTRY ADDRESS: %p\n", _p(parms.virt_entry));
- if ( ((v_end - v_start)>>PAGE_SHIFT) > nr_pages )
- {
- printk("Initial guest OS requires too much space\n"
- "(%luMB is greater than %luMB limit)\n",
- (v_end-v_start)>>20, nr_pages>>(20-PAGE_SHIFT));
- return -ENOMEM;
- }
-
mpt_alloc = (vpt_start - v_start) +
(unsigned long)pfn_to_paddr(alloc_spfn);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86: remove pointless dom0 check,
Jan Beulich <=
|
|
|
|
|