x86/mm: Improvements to PV l1e mapping helpers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 2 Aug 2017 11:40:02 +0000 (12:40 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 13 Sep 2017 10:22:22 +0000 (11:22 +0100)
commit54a722f219dc739ecdc6235da19030ba3d89e1fe
treefef3f77cfae01c4220888f85dde0200a88f28f18
parentcb2febbf01b758555b6a9b78215213b4ae8778a5
x86/mm: Improvements to PV l1e mapping helpers

Drop guest_unmap_l1e() and use unmap_domain_page() directly.  This will
simplify future cleanup.  Rename guest_map_l1e() to map_guest_l1e() to closer
match the mapping nomenclature.

Switch map_guest_l1e() to using mfn_t.  Correct the comment to indicate that
it takes a linear address (not a virtual address), and correct the parameter
name.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm.c