x86/mm: switch to new APIs in modify_xen_mappings
authorWei Liu <wei.liu2@citrix.com>
Thu, 22 Apr 2021 12:13:02 +0000 (14:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Apr 2021 12:13:02 +0000 (14:13 +0200)
commitdd68f2e49bea791244919fcbca8a76b611d2fa29
tree3344552a36111362ff40417d456c96861c895a92
parent4b5b08314ebc8146bfc4c2f8e356f1423a2b70ed
x86/mm: switch to new APIs in modify_xen_mappings

Page tables allocated in that function should be mapped and unmapped
now.

Note that pl2e now maybe mapped and unmapped in different iterations, so
we need to add clean-ups for that.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Hongyan Xia <hongyxia@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm.c