diff options
author | Quentin Perret <qperret@google.com> | 2024-04-23 16:05:25 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-05-01 16:48:14 +0100 |
commit | d81a91af417c8f34dc3c3f8f90240e843d1c5c08 (patch) | |
tree | 1beb7198db3fb18a51b10b43f88ace93a8b0ca46 /arch/arm64/kvm | |
parent | 948e1a53c2e95ad4c03cc6201edcb5d92e87d841 (diff) |
KVM: arm64: Add is_pkvm_initialized() helper
Add a helper allowing to check when the pkvm static key is enabled to
ease the introduction of pkvm hooks in other parts of the code.
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
Acked-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240423150538.2103045-18-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm')
0 files changed, 0 insertions, 0 deletions