On 18/09/2015 15:19, Daniel P. Berrange wrote: > + if (fds || nfds) { > + error_setg_errno(errp, EINVAL, > + "Channel does not support buffer descriptor > passing"); > + return -1; > + }
Typo (file descriptor passing) and the check could be hoisted to io/channel.c by using features. In fact capabilities could perhaps be stored statically in struct QIOChannel as a bitmap? Paolo