KVM: arm64: Expose pkvm_hyp_id
authorQuentin Perret <qperret@google.com>
Mon, 9 Aug 2021 15:24:41 +0000 (16:24 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Aug 2021 10:39:51 +0000 (11:39 +0100)
commit2d77e238badb022adb364332b7d6a1d627f77145
treeb35dc7815a64b64470b42359622a5ce4b1857b5f
parent39257da0e04e5cdb1e4a3ca715dc3d949fe8b059
KVM: arm64: Expose pkvm_hyp_id

Allow references to the hypervisor's owner id from outside
mem_protect.c.

Signed-off-by: Quentin Perret <qperret@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210809152448.1810400-15-qperret@google.com
arch/arm64/kvm/hyp/include/nvhe/mem_protect.h
arch/arm64/kvm/hyp/nvhe/mem_protect.c