* [PATCH] p2m-ept: remove map_domain_page check
@ 2011-09-06 9:07 Olaf Hering
0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2011-09-06 9:07 UTC (permalink / raw)
To: xen-devel
# 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-06 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06 9:07 [PATCH] p2m-ept: remove map_domain_page check Olaf Hering
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).