[xen stable-4.8] 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.8] x86: request page table page-in for the correct domain

patchbot
commit f457a229bc16cb33c20c80fcc91af36e04b1e01f
Author:     Jan Beulich <[hidden email]>
AuthorDate: Tue Oct 24 16:26:33 2017 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Tue Oct 24 16:26:33 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 36dc126..c791980 100644
--- a/xen/arch/x86/mm.c
+++ b/xen/arch/x86/mm.c
@@ -3915,7 +3915,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.8

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