From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 1/2] evtchn/fifo: initialize priority when events are bound Date: Tue, 07 Jan 2014 15:50:28 +0000 Message-ID: References: <1386683820-9834-2-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1386683820-9834-2-git-send-email-david.vrabel@citrix.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: David Vrabel , xen-devel@lists.xen.org Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org On 10/12/2013 13:56, "David Vrabel" wrote: > From: David Vrabel > > Event channel ports that are reused or that were not in the initial > bucket would have a non-default priority. > > Add an init evtchn_port_op hook and use this to set the priority when > an event channel is bound. > > Within this new evtchn_fifo_init() call, also check if the event is > already on a queue and print a warning, as this event may have its > first event delivered on a queue with the wrong VCPU or priority. > This guest is expected to prevent this (if it cares) by not unbinding > events that are still linked. > > Signed-off-by: David Vrabel Acked-by: Keir Fraser