From: "Jan Beulich" Subject: Re: [PATCH v5] x86/hvm: Add per-vcpu evtchn upcalls Date: Fri, 16 Jan 2015 11:58:44 +0000 Message-ID: <54B90B040200007800055BED@mail.emea.novell.com> References: <1421402957-24468-1-git-send-email-paul.durrant@citrix.com> <54B8EA5D.5030705@citrix.com> <9AAE0902D5BC7E449B7C8E4E778ABCD0257CD4A7@AMSPEX01CL01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD0257CD4A7@AMSPEX01CL01.citrite.net> 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 , Paul Durrant , "xen-devel@lists.xen.org" Cc: "Keir (Xen.org)" , David Vrabel List-Id: xen-devel@lists.xenproject.org >>> On 16.01.15 at 12:07, wrote: >> From: Andrew Cooper >> On 16/01/15 10:09, Paul Durrant wrote: >> > +#define HVMOP_set_evtchn_upcall_vector 23 >> > +struct xen_hvm_set_evtchn_upcall_vector { >> > + uint32_t vcpu; >> > + uint8_t vector; >> > +}; >> > +typedef struct xen_hvm_set_evtchn_upcall_vector >> xen_hvm_set_evtchn_upcall_vector_t; >> > +DEFINE_XEN_GUEST_HANDLE(xen_hvm_set_evtchn_upcall_vector_t); >> >> I think you should remove "set" from the structure name. Who knows - >> someone might want to implement a get hypercall in the future. >> > > I didn't want to make any assumption about future use of the structure and > followed the convention of tying the name to the hypercall. I'm happy to make > the name more generic if anyone else also thinks that's a good idea. I think this is a good idea, and I can take care of the name change while committing (unless other reasons for another round should show up). Jan