[RFC kvmtool 31/31] arm64: Allow the user to create a realm

From: Suzuki K Poulose
Date: Fri Jan 27 2023 - 06:43:04 EST


From: Alexandru Elisei <alexandru.elisei@xxxxxxx>

We have everything in place to create a realm, allow the user to do so.

Signed-off-by: Alexandru Elisei <alexandru.elisei@xxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
arm/aarch64/kvm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arm/aarch64/kvm.c b/arm/aarch64/kvm.c
index 1f3a0def..422dbec2 100644
--- a/arm/aarch64/kvm.c
+++ b/arm/aarch64/kvm.c
@@ -104,8 +104,6 @@ static void validate_realm_cfg(struct kvm *kvm)
if (strlen(kvm->cfg.arch.realm_pv) > KVM_CAP_ARM_RME_RPV_SIZE)
die("Invalid size for Realm Personalization Value\n");
}
-
- die("Realms not supported");
}

void kvm__arch_validate_cfg(struct kvm *kvm)
--
2.34.1