@@ -3460,7 +3460,8 @@ The initial values are defined as:
3460
3460
- FPSIMD/NEON registers: set to 0
3461
3461
- SVE registers: set to 0
3462
3462
- System registers: Reset to their architecturally defined
3463
- values as for a warm reset to EL1 (resp. SVC)
3463
+ values as for a warm reset to EL1 (resp. SVC) or EL2 (in the
3464
+ case of EL2 being enabled).
3464
3465
3465
3466
Note that because some registers reflect machine topology, all vcpus
3466
3467
should be created before this ioctl is invoked.
@@ -3527,6 +3528,17 @@ Possible features:
3527
3528
- the KVM_REG_ARM64_SVE_VLS pseudo-register is immutable, and can
3528
3529
no longer be written using KVM_SET_ONE_REG.
3529
3530
3531
+ - KVM_ARM_VCPU_HAS_EL2: Enable Nested Virtualisation support,
3532
+ booting the guest from EL2 instead of EL1.
3533
+ Depends on KVM_CAP_ARM_EL2.
3534
+ The VM is running with HCR_EL2.E2H being RES1 (VHE) unless
3535
+ KVM_ARM_VCPU_HAS_EL2_E2H0 is also set.
3536
+
3537
+ - KVM_ARM_VCPU_HAS_EL2_E2H0: Restrict Nested Virtualisation
3538
+ support to HCR_EL2.E2H being RES0 (non-VHE).
3539
+ Depends on KVM_CAP_ARM_EL2_E2H0.
3540
+ KVM_ARM_VCPU_HAS_EL2 must also be set.
3541
+
3530
3542
4.83 KVM_ARM_PREFERRED_TARGET
3531
3543
-----------------------------
3532
3544
0 commit comments