LoongArch: KVM: Implement kvm mmu operations
Implement LoongArch kvm mmu, it is used to switch gpa to hpa when guest exit because of address translation exception. This patch implement: allocating gpa page table, searching gpa from it, and flushing guest gpa in the table. 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
d7f4ed4b
Please register or sign in to comment