From: Shuai Ruan Subject: Re: [V9 2/3] x86/xsaves: enable xsaves/xrstors for hvm guest Date: Thu, 5 Nov 2015 19:11:56 +0800 Message-ID: <24751.0794703432$1446722057@news.gmane.org> References: <1446532047-5276-1-git-send-email-shuai.ruan@linux.intel.com> <1446532047-5276-3-git-send-email-shuai.ruan@linux.intel.com> <563B3D6F02000078000B20ED@prv-mh.provo.novell.com> Reply-To: Shuai Ruan Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <563B3D6F02000078000B20ED@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: kevin.tian@intel.com, wei.liu2@citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org, jun.nakajima@intel.com, keir@xen.org List-Id: xen-devel@lists.xenproject.org On Thu, Nov 05, 2015 at 03:28:47AM -0700, Jan Beulich wrote: > >>> On 03.11.15 at 07:27, 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). Sorry for that. > > With it removed, > Reviewed-by: Jan Beulich > Thanks. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >