Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-23 Thread Jan Beulich
>>> On 20.05.16 at 10:53, wrote: > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -107,12 +107,22 @@ void vmx_pi_per_cpu_init(unsigned int cpu) > static void vmx_vcpu_block(struct vcpu *v) > { > unsigned long flags; > -unsigned int dest; > +

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-23 Thread Jan Beulich
>>> On 23.05.16 at 11:21, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Monday, May 23, 2016 5:04 PM >> >>> On 23.05.16 at 09:16, wrote: >> >> From: Tian, Kevin >> >> Sent: Monday, May 23, 2016 2:52 PM >> >> Somehow I'm thinking whether we

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-23 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, May 23, 2016 5:04 PM > To: Wu, Feng > Cc: andrew.coop...@citrix.com; dario.faggi...@citrix.com; > george.dun...@eu.citrix.com; Tian, Kevin ; xen- >

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-23 Thread Jan Beulich
>>> On 23.05.16 at 09:16, wrote: > >> -Original Message- >> From: Tian, Kevin >> Sent: Monday, May 23, 2016 2:52 PM >> To: Wu, Feng ; xen-devel@lists.xen.org >> Cc: k...@xen.org; jbeul...@suse.com; andrew.coop...@citrix.com; >>

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-23 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Monday, May 23, 2016 2:52 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: k...@xen.org; jbeul...@suse.com; andrew.coop...@citrix.com; > george.dun...@eu.citrix.com; dario.faggi...@citrix.com; > konrad.w...@oracle.com >

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-23 Thread Tian, Kevin
> From: Wu, Feng > Sent: Monday, May 23, 2016 1:28 PM > > > > -Original Message- > > From: Tian, Kevin > > Sent: Monday, May 23, 2016 1:15 PM > > To: Wu, Feng ; xen-devel@lists.xen.org > > Cc: k...@xen.org; jbeul...@suse.com; andrew.coop...@citrix.com; > >

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-22 Thread Wu, Feng
> -Original Message- > From: Tian, Kevin > Sent: Monday, May 23, 2016 1:15 PM > To: Wu, Feng ; xen-devel@lists.xen.org > Cc: k...@xen.org; jbeul...@suse.com; andrew.coop...@citrix.com; > george.dun...@eu.citrix.com; dario.faggi...@citrix.com; > konrad.w...@oracle.com >

Re: [Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-22 Thread Tian, Kevin
> From: Wu, Feng > Sent: Friday, May 20, 2016 4:54 PM > > When the last assigned device is dettached from the domain, all > the PI related hooks are removed then, however, the vCPU can be > blocked, switched to another pCPU, etc, all without the aware of > PI. After the next time we attach

[Xen-devel] [PATCH 1/3] VMX: Properly adjuest the status of pi descriptor

2016-05-20 Thread Feng Wu
When the last assigned device is dettached from the domain, all the PI related hooks are removed then, however, the vCPU can be blocked, switched to another pCPU, etc, all without the aware of PI. After the next time we attach another device to the domain, which makes the PI realted hooks