From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xensource.com
Subject: [PATCH] p2m-ept: remove map_domain_page check
Date: Tue, 06 Sep 2011 11:07:51 +0200 [thread overview]
Message-ID: <bde6301b03c818d93a19.1315300071@probook.site> (raw)
# 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);
reply other threads:[~2011-09-06 9:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bde6301b03c818d93a19.1315300071@probook.site \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).