On Tue, Mar 27, 2018 at 09:36:09AM -0600, Jan Beulich wrote:
> >>> On 27.03.18 at 17:30, <roger....@citrix.com> wrote:
> > Add dummy replacements for some functions used outside of the vpci
> > code, and also a guard in vmsi.c to prevent vpci arch specific helpers
> > from being compiled if the option is not selected.
> > 
> > Reported-by: Wei Liu <wei.l...@citrix.com>
> > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
> 
> Reviewed-by: Jan Beulich <jbeul...@suse.com>
> with one remark:
> 
> > +static inline bool __must_check vpci_process_pending(struct vcpu *v)
> 
> I don't think you really need the __must_check here; if you agree,
> I'm sure this could be dropped while committing.

I've keep the __must_check to prevent users that don't have VPCI
enabled from adding usages of vpci_process_pending that don't check
the return value, but TBH I expect people adding or changing usages of
vpci_process_pending to have VPCI enabled.

I'm fine with you removing the __must_check at commit time.

Thanks, Roger.

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

Reply via email to