[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [V9 2/3] x86/xsaves: enable xsaves/xrstors for hvm guest



>>> On 03.11.15 at 07:27, <shuai.ruan@xxxxxxxxxxxxxxx> wrote:
> @@ -640,6 +640,14 @@ static void vmx_save_msr(struct vcpu *v, struct hvm_msr 
> *ctxt)
>      }
>  
>      vmx_vmcs_exit(v);
> +
> +    if ( cpu_has_xsaves )
> +    {
> +        ctxt->msr[ctxt->count].val = v->arch.hvm_vcpu.msr_xss;
> +        if ( ctxt->msr[ctxt->count].val )
> +            ctxt->msr[ctxt->count++].index = MSR_IA32_XSS;
> +    }
> +
>  }

Stray blank line (not the first time I have to make this comment on
this series).

With it removed,
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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