Martin Polednik has uploaded a new change for review.

Change subject: nettestlib: add ppc64le TUNSETIFF value
......................................................................

nettestlib: add ppc64le TUNSETIFF value

ppc64le shares the same TUNSETIFF as ppc64 and shouldn't be treated as
unsupported architecture.

Change-Id: I0d3e907c97f1fa2409fda9fb3f1cb7cc91dd045b
Signed-off-by: Martin Polednik <[email protected]>
---
M tests/nettestlib.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/55/46955/1

diff --git a/tests/nettestlib.py b/tests/nettestlib.py
index 4a04552..8bcb3ab 100644
--- a/tests/nettestlib.py
+++ b/tests/nettestlib.py
@@ -101,7 +101,7 @@
     _IFF_NO_PI = 0x1000
     if cpuinfo.arch() == cpuinfo.Architecture.X86_64:
         _TUNSETIFF = 0x400454ca
-    elif cpuinfo.arch() == 'ppc64':
+    elif cpuinfo.arch() in cpuinfo.Architecture.POWER:
         _TUNSETIFF = 0x800454ca
     else:
         raise cpuinfo.UnsupportedArchitecture


-- 
To view, visit https://gerrit.ovirt.org/46955
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d3e907c97f1fa2409fda9fb3f1cb7cc91dd045b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to