[PATCHv2 08/11] powerpc/kvm: Create kvmppc_unmap_hpte_helper()

2016-12-19 Thread David Gibson
The kvm_unmap_rmapp() function, called from certain MMU notifiers, is used to force all guest mappings of a particular host page to be set ABSENT, and removed from the reverse mappings. For HPT resizing, we will have some cases where we want to set just a single guest HPTE ABSENT and remove its

[PATCHv2 08/11] powerpc/kvm: Create kvmppc_unmap_hpte_helper()

2016-12-19 Thread David Gibson
The kvm_unmap_rmapp() function, called from certain MMU notifiers, is used to force all guest mappings of a particular host page to be set ABSENT, and removed from the reverse mappings. For HPT resizing, we will have some cases where we want to set just a single guest HPTE ABSENT and remove its