[XEN] Remove bogus assertion in shadow emulation path

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
Tim Deegan committed 2007-02-07 12:58:07 +00:00
1 parent 01d0fc79ac
commit 73b12747dc
1 file changed
+2 -4
+2 -4
View File
@@ -3875,11 +3875,9 @@ static inline void * emulate_map_dest(struct vcpu *v,
goto page_fault;
}
/* Attempted a write to a bad gfn? This should never happen:
* after all, we're here because this write is to a page table. */
BUG_ON(!mfn_valid(mfn));
if ( !mfn_valid(mfn) )
return NULL;
ASSERT(sh_mfn_is_a_page_table(mfn));
*mfnp = mfn;
return sh_map_domain_page(mfn) + (vaddr & ~PAGE_MASK);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.