Thank you~ But sorry for my poor unstanding,where could i get hvmemul_ctxt* ctxt ?Could get it from vcpu or domain struct? ------------------ 原始邮件 ------------------ 发件人: "Andrew Cooper"; 发送时间: 2013年6月6日(星期四) 凌晨0:42 收件人: "Wangbei"; 抄送: "xen-devel"; 主题: Re: [Xen-devel] Question about get the user or kernel mode of vmxvcpu On 05/06/13 17:24, Wangbei wrote: You probably want something based on _get_cpl() from xen/arch/x86/x86_emulate/x86_emulate.c ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel