[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



> > @@ -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.
> 
Will remove this because it in vmx_vmenter_helper(). 

Thanks,
Luwei Kang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.