Olaf Hering
2011-Sep-06 09:07 UTC
[Xen-devel] [PATCH] p2m-ept: remove map_domain_page check
# HG changeset patch # User Olaf Hering <olaf@aepfle.de> # Date 1315299489 -7200 # Node ID bde6301b03c818d93a19cf4ffd668c6c825e5181 # Parent 0268e73809532a4a3ca18a075efcee3c62caf458 p2m-ept: remove map_domain_page check map_domain_page() can not fail, remove ASSERT in ept_set_entry(). Signed-off-by: Olaf Hering <olaf@aepfle.de> diff -r 0268e7380953 -r bde6301b03c8 xen/arch/x86/mm/p2m-ept.c --- a/xen/arch/x86/mm/p2m-ept.c +++ b/xen/arch/x86/mm/p2m-ept.c @@ -332,8 +332,6 @@ ept_set_entry(struct p2m_domain *p2m, un table = map_domain_page(ept_get_asr(d)); - ASSERT(table != NULL); - for ( i = ept_get_wl(d); i > target; i-- ) { ret = ept_next_level(p2m, 0, &table, &gfn_remainder, i); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel