[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/mm: remove incorrect BUG_ON.
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxx> # Date 1290594003 0 # Node ID 79b71c77907b80772ee8cba0c5bbf8e444e61226 # Parent e5c4e925e1bd15baeadc0817dcceb5fff54b8a74 x86/mm: remove incorrect BUG_ON. This BUG_ON tests a property of an effectively random PFN in the guest, and is explicitly _not_ seeing the MFN that's known to be owned. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx> --- xen/arch/x86/mm/p2m.c | 3 --- 1 files changed, 3 deletions(-) diff -r e5c4e925e1bd -r 79b71c77907b xen/arch/x86/mm/p2m.c --- a/xen/arch/x86/mm/p2m.c Tue Nov 23 19:36:14 2010 +0000 +++ b/xen/arch/x86/mm/p2m.c Wed Nov 24 10:20:03 2010 +0000 @@ -2380,9 +2380,6 @@ guest_physmap_add_entry(struct p2m_domai P2M_DEBUG("aliased! mfn=%#lx, old gfn=%#lx, new gfn=%#lx\n", mfn + i, ogfn, gfn + i); omfn = gfn_to_mfn_query(p2m, ogfn, &ot); - /* If we get here, we know the local domain owns the page, - so it can't have been grant mapped in. */ - BUG_ON( p2m_is_grant(ot) ); if ( p2m_is_ram(ot) ) { ASSERT(mfn_valid(omfn)); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |