arch/loongarch/include/asm/kvm_para.h
0 → 100644
+26
−0
arch/loongarch/include/uapi/asm/Kbuild
deleted100644 → 0
+0
−2
+10
−0
Loading
LoongArch inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9BTWW ------------------------------------------ On LoongArch system, there is hypercall instruction special for virtualization. When system executes this instruction on host side, there is illegal instruction exception reported, however it will trap into host when it is executed in VM mode. When hypercall is emulated, A0 register is set with value KVM_HCALL_INVALID_CODE, rather than inject EXCCODE_INE invalid instruction exception. So VM can continue to executing the next code. Signed-off-by:Bibo Mao <maobibo@loongson.cn> Signed-off-by:
Xianglai Li <lixianglai@loongson.cn>