commit | 688afc3ff8e1e1379dab89c183834fc6ff9e0fec | [log] [tgz] |
---|---|---|
author | Fuad Tabba <tabba@google.com> | Mon Apr 14 09:53:50 2025 +0100 |
committer | Fuad Tabba <tabba@google.com> | Mon Apr 14 09:53:50 2025 +0100 |
tree | d23188c9b98811627523765841cc248e20bd14cb | |
parent | 210655ff5fe0cb094ca91b2a9d3f9abc4353cca6 [diff] |
fixup! pkvm: Add option to spawn a protected vm in pkvm
diff --git a/arm/aarch64/kvm.c b/arm/aarch64/kvm.c index 545ca76..c4da927 100644 --- a/arm/aarch64/kvm.c +++ b/arm/aarch64/kvm.c
@@ -176,8 +176,12 @@ type = KVM_VM_TYPE_ARM_IPA_SIZE(ipa_bits); - if (kvm->cfg.pkvm) + if (kvm->cfg.pkvm) { type |= (1U << 31); + pr_debug("VM type set to protected 0x%x", type); + } else { + pr_debug("VM type set to non-protected 0x%x", type); + } return type; }