ANDROID: KVM: arm64: Introduce PTE management callbacks
In preparation for supporting a different reference counting mechanism for
the host, introduce a structure that will hold all the page table
management callbacks. This currently wraps the force_pte callback and
the pte_is_counted. Pass the address of this ops structure as part of the
pagetable initialization. Store the address of the ops structure in the
pagetable structure as well as in the visiting context.
Signed-off-by:
Sebastian Ene <sebastianene@google.com>
Bug: 278749606
Change-Id: Id520201e7e8334a4b131327311bb86a1d5cbd304
Loading
Please sign in to comment