[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v10 09/11] vpci/msi: add MSI handlers



>>> On 16.03.18 at 16:38, <roger.pau@xxxxxxxxxx> wrote:
> On Fri, Mar 16, 2018 at 09:05:44AM -0600, Jan Beulich wrote:
>> >>> On 16.03.18 at 15:34, <roger.pau@xxxxxxxxxx> wrote:
>> > vpci_remove_device is never called from the user-space test harness,
>> > so it just needs to build, but not necessarily be correct in that
>> > context.
>> > 
>> > The test harness doesn't use vpci_add_handlers or vpci_remove_device,
>> > it just adds and removes handlers using vpci_add_register and
>> > vpci_remove_register.
>> 
>> I dislike such a setup - then you'd better #ifdef out the entire
>> function, and undo some of the other recently added #ifdef-ary.
> 
> OK, I've done it that way initially to prevent polluting vpci.c with
> __XEN__ ifdefs. The patch below ifdefs those unused functions.

Looks like an overall improvement to me.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.