[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 5/5] arm/virt: provide virtualization extensions to the g
From: |
Miguel Luis |
Subject: |
Re: [RFC PATCH 5/5] arm/virt: provide virtualization extensions to the guest |
Date: |
Tue, 28 Feb 2023 12:31:36 +0000 |
Hi Richard,
> On 27 Feb 2023, at 18:26, Richard Henderson <richard.henderson@linaro.org>
> wrote:
>
> On 2/27/23 06:37, Miguel Luis wrote:
>> - if (vms->virt && (kvm_enabled() || hvf_enabled())) {
>> + if (vms->virt && (kvm_enabled() || hvf_enabled())
>> + && !kvm_arm_el2_supported()) {
>
> The ordering of the tests isn't right -- shouldn't test kvm_arm_* for hvf.
>
> virt && ((kvm && !kvm_el2) || hvf)
>
Agree. It will be fixed on the next version.
Thank you!
Miguel
>
> r~
- Re: [RFC PATCH 1/5] linux-headers: [kvm, arm64] add the necessary definitions to match host kernel, (continued)