]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevtap: Produce more helpful error message in virNetDevTapCreate()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Jan 2026 09:54:21 +0000 (10:54 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Jan 2026 15:52:03 +0000 (16:52 +0100)
commit70d7458186d2db8013cbc9dcbdcb867506f599da
tree3d993407b384716ce813258d05f8afff3096ea4f
parent845210011a9ffd9d17e30c51cbc81ba67c5d3166
virnetdevtap: Produce more helpful error message in virNetDevTapCreate()

Since v10.8.0-rc1~133 a different error is reported from
virNetDevTapCreate() when the tap device already exists (and
<interface/> XML specifies managed='no'). But the change covers
only one scenario: if multiqueue was requested in <inteface/> XML
BUT pre-created tap device doesn't have multi_queue flag set. The
opposite scenario: if the device has the multi_queue flag set BUT
no multiqueue was specified in the XML. Until now.

Resolves: https://issues.redhat.com/browse/RHEL-118303
Fixes: f6fb097e11a15e390d989411b2660ead0d1a7c10
Fixes: 465a38154f0cfc31d62c4105770e1f4a9599a611
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virnetdevtap.c