On 24/06/15 12:24, Paul Durrant wrote:
> +#define HVMIO_NEED_COMPLETION(_vio) \
> +    ( ((_vio)->io_state == HVMIO_awaiting_completion) &&    \
> +      !(_vio)->io_data_is_addr && \
> +      ((_vio)->io_dir == IOREQ_READ) )

Please can this be a static inline which takes a const pointer.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to