Change in vdsm[ovirt-3.6]: hostdev: fix detection for ppc64le
fromani at redhat.com
fromani at redhat.com
Wed Feb 10 10:57:13 UTC 2016
Francesco Romani has submitted this change and it was merged.
Change subject: hostdev: fix detection for ppc64le
......................................................................
hostdev: fix detection for ppc64le
x86_64 detects the state of hostdev support by looking at 2 places:
* /sys/class/iommu to determine the status of DMA remapping,
* /sys/kernel/iommu_groups to determine that at least some IOMMU groups
exist.
The issue in ppc64le is related to the first place - /sys/class/iommu
is newer interface and may not be supported on all kernels. 7.2 on
x86_64 seems to be updated enough that we can keep the detection, but
for ppc64le we cannot use it.
Change-Id: I314c8bda6a6831bf334e08085e8bf2fc4874aced
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1306196
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/50525
Continuous-Integration: Jenkins CI
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/53332
---
M vdsm/caps.py
1 file changed, 6 insertions(+), 2 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Francesco Romani: Looks good to me, approved
Martin Polednik: Verified
--
To view, visit https://gerrit.ovirt.org/53332
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I314c8bda6a6831bf334e08085e8bf2fc4874aced
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.6
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: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the vdsm-patches
mailing list