Re: [PATCH RFC v2 7/9] target/loongarch: Implement kvm_arch_handle_exit

2023-05-02 Thread Richard Henderson
On 4/27/23 08:26, Tianrui Zhao wrote: Implement kvm_arch_handle_exit for loongarch. In this function, the KVM_EXIT_LOONGARCH_IOCSR is handled, we read or write the iocsr address space by the addr, length and is_write argument in kvm_run. Signed-off-by: Tianrui Zhao --- target/loongarch/kvm.c

[PATCH RFC v2 7/9] target/loongarch: Implement kvm_arch_handle_exit

2023-04-27 Thread Tianrui Zhao
Implement kvm_arch_handle_exit for loongarch. In this function, the KVM_EXIT_LOONGARCH_IOCSR is handled, we read or write the iocsr address space by the addr, length and is_write argument in kvm_run. Signed-off-by: Tianrui Zhao --- target/loongarch/kvm.c| 24 +++- tar