]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: simplify check for vlan tagging support in virDomainActualNetDefValidate()
authorLaine Stump <laine@redhat.com>
Thu, 15 Jan 2026 00:28:17 +0000 (19:28 -0500)
committerLaine Stump <laine@redhat.com>
Fri, 16 Jan 2026 17:32:37 +0000 (12:32 -0500)
commitdcffd15520be96823f006b3dac5eea3590068fd0
tree50cd2c57241076b5c9c0c1646a25b5a0b45f8cd2
parent91a2d813cbfd53961bda9e0699bf22a5fc6829f8
conf: simplify check for vlan tagging support in virDomainActualNetDefValidate()

Since the only two types of bridges we support are OVS bridges and
Linux host bridges, and since both of those now support vlan tagging,
we don't need to check the virtualport type etc - if there is a bridge
specified then we know the interface will support vlan tagging.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_validate.c