> -----Original Message----- > From: Tian, Kevin > Sent: Friday, November 18, 2016 12:11 PM > To: Wu, Feng <feng...@intel.com>; xen-devel@lists.xen.org > Cc: jbeul...@suse.com; andrew.coop...@citrix.com; > george.dun...@eu.citrix.com; dario.faggi...@citrix.com > Subject: RE: [PATCH v8 3/7] VMX: Make sure PI is in proper state before > install > the hooks > > > From: Wu, Feng > > Sent: Friday, November 18, 2016 9:57 AM > > > > We may hit the last ASSERT() in vmx_vcpu_block in the current code, > > since vmx_vcpu_block() may get called before vmx_pi_switch_to() > > has been installed or executed. Here We use cmpxchg to update > > the NDST field, this can make sure we only update the NDST when > > vmx_pi_switch_to() has not been called. So the NDST is in a > > proper state in vmx_vcpu_block(). > > > > Suggested-by: Jan Beulich <jbeul...@suse.com> > > Signed-off-by: Feng Wu <feng...@intel.com> > > Reviewed-by: Jan Beulich <jbeul...@suse.com> > > Acked-by: Kevin Tian <kevin.t...@intel.com>
Thanks for the Ack! Thanks, Feng _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel