Re: [Xen-devel] [PATCH v6 7/7] VMX: Fixup PI descriptor when cpu is offline

2016-10-31 Thread Jan Beulich
>>> On 28.10.16 at 04:37, wrote: > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -203,6 +203,76 @@ static void vmx_pi_do_resume(struct vcpu *v) > vmx_pi_unblock_vcpu(v); > } > > +void vmx_pi_desc_fixup(int cpu) unsigned int With that fixed, Reviewed-by: Jan Beu

[Xen-devel] [PATCH v6 7/7] VMX: Fixup PI descriptor when cpu is offline

2016-10-27 Thread Feng Wu
When cpu is offline, we need to move all the vcpus in its blocking list to another online cpu, this patch handles it. Signed-off-by: Feng Wu --- v6: - Carefully suppress 'SN' to avoid missing notification event during moving the vcpu to the new list v5: - Add some comments to explain why it does