ANDROID: KVM: arm64: Add {get,put}_pkvm_hyp_vm() helpers
In preparation for accessing pkvm_hyp_vm structures at EL2 in a context
where we can't always expect a vCPU to be loaded (e.g. MMU notifiers),
introduce get/put helpers to gettemporary references to hyp VMs from
any context.
Bug: 357781595
Change-Id: I487c07b7395c6be91099c752003be88e193da83e
Signed-off-by:
Quentin Perret <qperret@google.com>
Loading
Please sign in to comment