[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 09/10] x86: Disable Intel Processor Trace when VMXON in L1 guest
>>> On 30.05.18 at 15:28, <luwei.kang@xxxxxxxxx> wrote: > @@ -1519,6 +1520,14 @@ int nvmx_handle_vmxon(struct cpu_user_regs *regs) > v->arch.hvm_vmx.launched = 0; > vmsucceed(regs); > > + if ( v->arch.hvm_vmx.ipt_desc ) > + { > + v->arch.hvm_vmx.ipt_desc->ipt_guest.ctl = 0; > + vmx_vmcs_enter(current); > + __vmwrite(GUEST_IA32_RTIT_CTL, 0); > + vmx_vmcs_exit(current); > + } I again don't understand why enter and exit the VMCS here. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |