ibvir-l...@redhat.com; anup.pa...@wdc.com; wanbo (G)
> ; Alistair Francis ;
> kvm-ri...@lists.infradead.org; Wanghaibin (D)
> ; pal...@dabbelt.com; Fanliang (EulerOS)
> ; Wubin (H)
> Subject: Re: [PATCH v1 03/12] target/riscv: Implement function
> kvm_arch_init_vcpu
>
> On 11/
On 11/20/21 8:46 AM, Yifei Jiang wrote:
+id = kvm_riscv_reg_id(env, KVM_REG_RISCV_CONFIG,
KVM_REG_RISCV_CONFIG_REG(isa));
+ret = kvm_get_one_reg(cs, id, );
+if (ret) {
+return ret;
+}
+env->misa_mxl |= isa;
This doesn't look right.
I'm sure you meant
Get isa info from kvm while kvm init.
Signed-off-by: Yifei Jiang
Signed-off-by: Mingwang Li
Reviewed-by: Alistair Francis
---
target/riscv/kvm.c | 32 +++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/target/riscv/kvm.c b/target/riscv/kvm.c
index