|
From: | Richard Henderson |
Subject: | Re: [RFC v11 17/55] target/arm: kvm: add stubs for some helpers |
Date: | Wed, 24 Mar 2021 12:54:29 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
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, cover.1616052889.git.haibo.xu@linaro.org/">https://patchew.org/QEMU/cover.1616052889.git.haibo.xu@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~
[Prev in Thread] | Current Thread | [Next in Thread] |