On 18.02.26 23:28, Vladimir Sementsov-Ogievskiy wrote:
+static bool tap_parse_vhost_fds(const NetdevTapOptions *tap, int **vhost_fds,
+ int queues, Error **errp)
+{
+ if (!(tap->vhostfd || tap->vhostfds)) {
+ *vhost_fds = NULL;
+ return true;
+ }
+
+ if (net_parse_fds(tap->fd ?: tap->fds, vhost_fds, queues, errp) < 0) {
reviewing own patches: that should be "tap->vhostfd ?: tap->vhostfds" of course. -- Best regards, Vladimir
