]> xenbits.xensource.com Git - libvirt.git/commitdiff
NEWS: Document recent VLAN ID improvement
authorDmitrii Shcherbakov <dmitrii.shcherbakov@canonical.com>
Wed, 2 Feb 2022 17:39:23 +0000 (18:39 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Feb 2022 15:52:05 +0000 (16:52 +0100)
After previous commits, the set of NICs that work well with
Libvirt was extended. Document this change.

Signed-off-by: Dmitrii Shcherbakov <dmitrii.shcherbakov@canonical.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
NEWS.rst

index 666a593b580f9cb6d59f4b3b69d8177d432d74b2..f5453257abfef093e6b5bae9082c38342baf2574 100644 (file)
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -34,6 +34,20 @@ v8.1.0 (unreleased)
     to parse sysconfig files, in case they are created by the admin and filled
     with the desired key=value pairs.
 
+  * virnetdev: Ignore EPERM on implicit clearing of VF VLAN ID
+
+    Libvirt will now ignore EPERM errors on attempts to implicitly clear a
+    VLAN ID (when a VLAN is not explicitly provided via an interface XML
+    using a 0 or a non-zero value) as SmartNIC DPUs do not expose VLAN
+    programming capabilities to the hypervisor host. This allows Libvirt
+    clients to avoid specifying a VLAN and expect VF configuration to work
+    since Libvirt tries to clear a VLAN in the same operation
+    as setting a MAC address for VIR_DOMAIN_NET_TYPE_HOSTDEV devices which
+    is now split into two distinct operations. EPERM errors received while
+    trying to program a non-zero VLAN ID or explicitly program a VLAN ID 0
+    will still cause errors as before so there is no change in behavior
+    in those cases.
+
 * **Bug fixes**