Re: [Xen-devel] [PATCH 11/11] x86/HVM: serialize trap injecting producer and consumer

2016-06-23 Thread Andrew Cooper
On 20/06/16 13:58, Jan Beulich wrote: > Since injection works on a remote vCPU, and since there's no > enforcement of the subject vCPU being paused, there's a potential race > between the prodcing and consuming sides. Fix this by leveraging the producing. > vector field as synchronization variabl

[Xen-devel] [PATCH 11/11] x86/HVM: serialize trap injecting producer and consumer

2016-06-20 Thread Jan Beulich
Since injection works on a remote vCPU, and since there's no enforcement of the subject vCPU being paused, there's a potential race between the prodcing and consuming sides. Fix this by leveraging the vector field as synchronization variable. Signed-off-by: Jan Beulich --- a/xen/arch/x86/hvm/con