Message ID | 59DF5950020000780018555A@prv-mh.provo.novell.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 12/10/17 11:00, Jan Beulich wrote: > The domain passed to p2m_mem_paging_populate() should match the one > passed to the corresponding get_page_from_gfn(). > > Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> > > --- a/xen/arch/x86/mm.c > +++ b/xen/arch/x86/mm.c > @@ -3287,7 +3287,7 @@ long do_mmu_update( > if ( p2m_is_paged(p2mt) ) > { > ASSERT(!page); > - p2m_mem_paging_populate(pg_owner, gmfn); > + p2m_mem_paging_populate(pt_owner, gmfn); > rc = -ENOENT; > break; > } > > >
--- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -3287,7 +3287,7 @@ long do_mmu_update( if ( p2m_is_paged(p2mt) ) { ASSERT(!page); - p2m_mem_paging_populate(pg_owner, gmfn); + p2m_mem_paging_populate(pt_owner, gmfn); rc = -ENOENT; break; }
The domain passed to p2m_mem_paging_populate() should match the one passed to the corresponding get_page_from_gfn(). Signed-off-by: Jan Beulich <jbeulich@suse.com>