From: "Jan Beulich" Subject: Re: [PATCH] xen/evtchn: Alter free_xen_event_channel() to take a domain rather than vcpu Date: Mon, 12 Jan 2015 10:07:01 +0000 Message-ID: <54B3AAD50200007800053914@mail.emea.novell.com> References: <1421056003-18872-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421056003-18872-1-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 12.01.15 at 10:46, wrote: > The resource behind an event channel is domain centric rather than vcpu > centric, and free_xen_event_channel() only follows the vcpu's domain > pointer. I wonder whether for symmetry alloc_unbound_xen_event_channel() shouldn't then also take a [struct domain *, unsigned int vcpu_id] pair instead of a struct vcpu *. Jan