ANDROID: KVM: arm64: Introduce KVM_ARCH_FLAG_MMIO_GUARD flag

Add a per-VM flag indicating that the guest has bought into the
MMIO guard enforcement framework.

Bug: 357781595
Change-Id: If60b2b38a419a9f44ebe9029f55dd016fd2444b5
Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
Marc Zyngier
2022-01-06 10:23:51 +00:00
committed by Keir Fraser
parent 38e040c134
commit 4ee39eb82d
+2
View File
@@ -340,6 +340,8 @@ struct kvm_arch {
#define KVM_ARCH_FLAG_ID_REGS_INITIALIZED 7
/* Fine-Grained UNDEF initialised */
#define KVM_ARCH_FLAG_FGU_INITIALIZED 8
/* Guest has bought into the MMIO guard extension */
#define KVM_ARCH_FLAG_MMIO_GUARD 9
unsigned long flags;
/* VM-wide vCPU feature set */