]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: placeholder to check if VM is protected
authorFuad Tabba <tabba@google.com>
Tue, 17 Aug 2021 08:11:20 +0000 (09:11 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Aug 2021 10:12:05 +0000 (11:12 +0100)
commitde5a225f1c36e73ebe1d63b683667dd7a2df6487
treee577680a4db18464f3ff3a8b0a458b3dc3846497
parent2f420e64267ac5032f4dcebc0b74ddd4a0145b64
KVM: arm64: placeholder to check if VM is protected

Add a function to check whether a VM is protected (under pKVM).
Since the creation of protected VMs isn't enabled yet, this is a
placeholder that always returns false. The intention is for this
to become a check for protected VMs in the future (see Will's RFC).

No functional change intended.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/kvmarm/20210603183347.1695-1-will@kernel.org/
Link: https://lore.kernel.org/r/20210817081134.2918285-2-tabba@google.com
arch/arm64/include/asm/kvm_host.h