Change in vdsm[master]: utils.py: Add hostUUID retrieval support for KVM on PPC64

vitor.lima at eldorado.org.br vitor.lima at eldorado.org.br
Thu Jan 9 14:32:45 UTC 2014


Vitor de Lima has posted comments on this change.

Change subject: utils.py: Add hostUUID retrieval support for KVM on PPC64
......................................................................


Patch Set 4:

(1 comment)

....................................................
File lib/vdsm/utils.py
Line 705:                 else:
Line 706:                     logging.warning('Could not find host UUID.')
Line 707:             elif arch in ('ppc', 'ppc64'):
Line 708:                 #eg. output IBM,03061C14A
Line 709:                 if os.path.exists('/proc/device-tree/system-id'):
Done
Line 710:                     with open('/proc/device-tree/system-id') as f:
Line 711:                         systemId = f.readline()
Line 712:                         __hostUUID = systemId.rstrip('\0').replace(',', '')
Line 713: 


-- 
To view, visit http://gerrit.ovirt.org/8637
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I7a557b096550631e340fcc61bcb3fa4c3ae73837
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Pradipta Banerjee <bpradip at in.ibm.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Better Saggi <bettersaggi at gmail.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa <gustavo.pedrosa at eldorado.org.br>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Leonardo Bianconi <leonardo.bianconi at eldorado.org.br>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Pradipta Banerjee <bpradip at in.ibm.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Vitor de Lima <vitor.lima at eldorado.org.br>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list