projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5326da0
)
p2m-ept: remove map_domain_page check
author
Olaf Hering
<olaf@aepfle.de>
Wed, 7 Sep 2011 09:37:48 +0000
(10:37 +0100)
committer
Olaf Hering
<olaf@aepfle.de>
Wed, 7 Sep 2011 09:37:48 +0000
(10:37 +0100)
map_domain_page() can not fail, remove ASSERT in ept_set_entry().
Signed-off-by: Olaf Hering <olaf@aepfle.de>
xen/arch/x86/mm/p2m-ept.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m-ept.c
b/xen/arch/x86/mm/p2m-ept.c
index f4a6d11666549a35fd84e8b0420dfcfc53fc470c..701f33d87a7184b629e0b10e4bda4340ca5d992d 100644
(file)
--- 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, unsigned long gfn, mfn_t mfn,
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);