LoongArch: KVM: Implement handle csr exception
Implement kvm handle LoongArch vcpu exit caused by reading, writing and exchanging csr. Use kvm_vcpu_arch::csr structure to emulate the software registers. Reviewed-by:Bibo Mao <maobibo@loongson.cn> Tested-by:
Huacai Chen <chenhuacai@loongson.cn> Signed-off-by:
Tianrui Zhao <zhaotianrui@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn>
parent
752e2cd7
Please register or sign in to comment