From: Peter Krempa <pkre...@redhat.com> Due to a logic bug the error message mentioning mult_queue operation would be mentioned also when a single queue would be opened on an externally managed tap device.
Adjust the condition to trigger only when multiple queues are in use. Fixes: f6fb097e11a Signed-off-by: Peter Krempa <pkre...@redhat.com> --- src/util/virnetdevtap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virnetdevtap.c b/src/util/virnetdevtap.c index 1dc77f0f5c..648d095dfc 100644 --- a/src/util/virnetdevtap.c +++ b/src/util/virnetdevtap.c @@ -231,7 +231,7 @@ int virNetDevTapCreate(char **ifname, if (ioctl(fd, TUNSETIFF, &ifr) < 0) { if (flags & VIR_NETDEV_TAP_CREATE_ALLOW_EXISTING && - tapfdSize > 0) { + tapfdSize > 1) { virReportSystemError(errno, _("Unable to create multiple fds for tap device %1$s (maybe existing device was created without multi_queue flag)"), *ifname); -- 2.49.0