x86: request page table page-in for the correct domain
authorJan Beulich <jbeulich@suse.com>
Fri, 13 Oct 2017 10:42:43 +0000 (12:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Oct 2017 10:42:43 +0000 (12:42 +0200)
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>
xen/arch/x86/mm.c

index 5628bc73895641f5a0cb141051061669ea7c4e57..745cb4707da7243d76515beffbfe6c990afa9366 100644 (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;
             }