p2m/ept: add _subtree suffix to ept_invalidate_emt
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 5 Sep 2019 07:59:26 +0000 (09:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Sep 2019 07:59:26 +0000 (09:59 +0200)
commit43f0009984a5b1dfb42ab216006ddd26086b7072
tree85b26f32fd9aedddea81b4b9b5acaeccb615b8f2
parent4067bbfa3bc02d9b80a25196681629dbd4456123
p2m/ept: add _subtree suffix to ept_invalidate_emt

So that the name implies the function is used to walk the page table
pointer passed as parameter. Drop the parent_ prefix from the level
parameter, since the level passed is the one matching the EPT entry
passed in the mfn parameter.

While there also change bool_t to bool and add an assert to make sure
no level 0 entries (ie: 4K EPT leaf entries) are passed as parameters.

No functional change intended.

Suggested-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/mm/p2m-ept.c