>>> On 30.05.18 at 15:28, <luwei.k...@intel.com> 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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to