On 3/23/21 9:46 AM, Claudio Fontana wrote:
+/* return the effective value of HCR_EL2. For KVM, always 0. */
+uint64_t arm_hcr_el2_eff(CPUARMState *env)
+{
+    return 0;
+}

Oh, amusingly, patches for kvm nested virtualization,

https://patchew.org/QEMU/cover.1616052889.git.haibo...@linaro.org/

mean that the guest *can* run in EL2, and this always 0 comment isn't true.

So we'll need to keep the original copy of this function in an accelerator agnostic place.


r~

Reply via email to