[xen stable-4.9] x86: request page table page-in for the correct domain

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen stable-4.9] x86: request page table page-in for the correct domain

patchbot
commit 8fbdbce16c8b25db6c9540407308a08d986d1e20
Author:     Jan Beulich <[hidden email]>
AuthorDate: Tue Oct 24 16:13:48 2017 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Tue Oct 24 16:13:48 2017 +0200

    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 <[hidden email]>
    Reviewed-by: Andrew Cooper <[hidden email]>
    master commit: 66b7f58e585e39fb19bbf38df02fff5a80eba1ff
    master date: 2017-10-13 12:42:43 +0200
---
 xen/arch/x86/mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c
index 6e09e03..5c84ce5 100644
--- a/xen/arch/x86/mm.c
+++ b/xen/arch/x86/mm.c
@@ -3955,7 +3955,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;
             }
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.9

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog