Change in vdsm[master]: hostdev: fix detection for ppc64le
mpolednik at redhat.com
mpolednik at redhat.com
Wed Feb 3 09:55:26 UTC 2016
Martin Polednik has posted comments on this change.
Change subject: hostdev: fix detection for ppc64le
......................................................................
Patch Set 3:
(1 comment)
https://gerrit.ovirt.org/#/c/50525/3/vdsm/caps.py
File vdsm/caps.py:
Line 517:
Line 518:
Line 519: def _getHostdevPassthorughSupport():
Line 520: try:
Line 521: iommu_groups_exist = bool(len(os.listdir('/sys/kernel/iommu_groups')))
> existS?
iommu_groups are plural -> exist
dmar (dma remapping) is singular -> exists
correct me if I'm wrong :)
Line 522: if cpuarch.is_ppc(cpuarch.real()):
Line 523: return iommu_groups_exist
Line 524:
Line 525: dmar_exists = bool(len(os.listdir('/sys/class/iommu')))
--
To view, visit https://gerrit.ovirt.org/50525
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I314c8bda6a6831bf334e08085e8bf2fc4874aced
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list