|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: remove pointless dom0 check
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1231413578 0
# Node ID 95d77829216fdad92f16690d7899508bec38ee0e
# Parent b9721b2766c19f5d51c50955cbf06e42ef81a7fe
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>
---
xen/arch/x86/domain_build.c | 8 --------
1 files changed, 8 deletions(-)
diff -r b9721b2766c1 -r 95d77829216f xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c Wed Jan 07 11:25:00 2009 +0000
+++ b/xen/arch/x86/domain_build.c Thu Jan 08 11:19:38 2009 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: remove pointless dom0 check,
Xen patchbot-unstable <=
|
|
|
|
|