Change in vdsm[master]: ppc64le: add fake kvm support for POWER8

mpolednik at redhat.com mpolednik at redhat.com
Fri Mar 27 13:02:44 UTC 2015


Martin Polednik has uploaded a new change for review.

Change subject: ppc64le: add fake kvm support for POWER8
......................................................................

ppc64le: add fake kvm support for POWER8

Fake kvm requires correct cpu model and flags for POWER8. This patch
adds ppc64le detection for this in caps.

Change-Id: I66f85568fbf6c1fd55a59811caded58f69ae4823
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
---
M vdsm/caps.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/78/39278/1

diff --git a/vdsm/caps.py b/vdsm/caps.py
index 57c5b7e..7236a99 100644
--- a/vdsm/caps.py
+++ b/vdsm/caps.py
@@ -634,7 +634,7 @@
                 'model_pentium2,model_pentium3,model_pentiumpro,' \
                 'model_qemu32,model_coreduo,model_core2duo,model_n270,' \
                 'model_Conroe,model_Penryn,model_Nehalem,model_Opteron_G1'
-        elif targetArch == Architecture.PPC64:
+        elif targetArch in Architecture.POWER:
             caps['cpuModel'] = 'POWER 8 (fake)'
             caps['cpuFlags'] = 'powernv,model_power8'
         else:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66f85568fbf6c1fd55a59811caded58f69ae4823
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>


More information about the vdsm-patches mailing list