KVM-VMI / nitro

GNU General Public License v3.0
46 stars 11 forks source link

Questions about realization of nitro! #71

Closed bigbigbanana closed 5 years ago

bigbigbanana commented 6 years ago

First,you said nitro start with handle_exception,i want to know when and where vm tricked into kvm. Second,in the process of handling exception,nitro execute emulate_instruction,there have two definitions of emulate_instruction,one in arch/powerpc/kernel/traps.c and the second in arch/x86/include/asm/kvm_host.h,which one is correct? Last,i want to know what's the connection between emulate_instruction in vmx.c and em_syscall in emulate.c,where the em_syscall be executed?I want to know more about emulate instruction,but there is very little information about it on the internet,could you give me some guide about it?Thanks.