Martin Polednik has posted comments on this change. Change subject: hostdev: display directed-passthrough status in caps ......................................................................
Patch Set 1: -Verified (1 comment) https://gerrit.ovirt.org/#/c/37701/1/vdsm/caps.py File vdsm/caps.py: Line 596: return selinux Line 597: Line 598: Line 599: def _getDirectedPassthrough(): Line 600: return bool(len(os.listdir('/sys/class/iommu'))) > silly comment: As far as I understand only dmarX should be present. This is still not *perfect* check, because there are various hardware configurations that require more setup, but this gets us close. Line 601: Line 602: Line 603: def get(): Line 604: targetArch = getTargetArch() -- To view, visit https://gerrit.ovirt.org/37701 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I159f49db4fdbfd347753b2c97c5f75b694ac9460 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Martin Polednik <mpoled...@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Martin Betak <mbe...@redhat.com> Gerrit-Reviewer: Martin Polednik <mpoled...@redhat.com> Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches