[PATCH 6/8] virDriverFeatureIsGlobal: Handle VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The fix was on RPC level so everything should advertise it.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/driver.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/driver.c b/src/driver.c
index d070861cfd..54b4ad5b43 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -357,10 +357,12 @@ virDriverFeatureIsGlobal(virDrvFeature feat,
      * At this point everything supports them and thus also drivers need to
      * always advertise this feature */
     case VIR_DRV_FEATURE_TYPED_PARAM_STRING:
+    /* Feature flag exposes that accidental switching of order of arguments
+     * in RPC was fixed. All implementations need to advertise this feature */
+    case VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER:
         *supported = 1;
         return true;

-    case VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER:
     case VIR_DRV_FEATURE_FD_PASSING:
     case VIR_DRV_FEATURE_MIGRATION_V2:
     case VIR_DRV_FEATURE_MIGRATION_V3:
-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux