On Thu, Jun 9, 2022 at 11:09 AM Bin Meng wrote:
>
> env->misa_ext_mask might be set to the same value of env->misa_ext
> in riscv_cpu_realize() based on given properties, but it may differ
> from what KVM tells us.
>
> Let's set the correct env->misa_ext_mask in kvm_arch_init_vcpu().
>
> Signed-of
env->misa_ext_mask might be set to the same value of env->misa_ext
in riscv_cpu_realize() based on given properties, but it may differ
from what KVM tells us.
Let's set the correct env->misa_ext_mask in kvm_arch_init_vcpu().
Signed-off-by: Bin Meng
---
target/riscv/kvm.c | 2 +-
1 file changed