Re: [PATCH RFC v1 07/10] target/loongarch: Implement kvm_arch_handle_exit

2023-04-20 Thread Tianrui Zhao
在 2023年04月20日 18:00, Philippe Mathieu-Daudé 写道: On 20/4/23 11:36, 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

Re: [PATCH RFC v1 07/10] target/loongarch: Implement kvm_arch_handle_exit

2023-04-20 Thread Philippe Mathieu-Daudé
On 20/4/23 11:36, 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 v1 07/10] target/loongarch: Implement kvm_arch_handle_exit

2023-04-20 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 +++- 1 file cha