Re: [PATCH 2/3] target/riscv: kvm: Set env->misa_ext_mask to the supported value

2022-06-12 Thread Alistair Francis
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

[PATCH 2/3] target/riscv: kvm: Set env->misa_ext_mask to the supported value

2022-06-08 Thread Bin Meng
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