x86: request page table page-in for the correct domain

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>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
This commit is contained in:
Jan Beulich committed 2017-10-13 12:42:43 +02:00
1 parent 6cde84a81b
commit 66b7f58e58
1 file changed
+1 -1
+1 -1
View File
@@ -3442,7 +3442,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;
}
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.