x86/p2m: drop p2m_access_t parameter from set_mmio_p2m_entry()
authorJan Beulich <jbeulich@suse.com>
Fri, 21 Feb 2020 16:19:16 +0000 (17:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 21 Feb 2020 16:19:16 +0000 (17:19 +0100)
commitb05cf27babaee58e958d4fb007afe7a4218d2c00
tree6099ef0cb71c7270bbc26ae0ff1f96a4da73f47f
parenta446a330117998a655e76c2e05ea46c01d365516
x86/p2m: drop p2m_access_t parameter from set_mmio_p2m_entry()

Both callers request the host P2M's default access, which can as well be
done inside the function. While touching this anyway, make the "gfn"
parameter type-safe as well.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@ciitrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h