Change in vdsm[master]: hostdev: display hostdev passthrough support in caps

danken at redhat.com danken at redhat.com
Thu Mar 12 00:27:54 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: hostdev: display hostdev passthrough support in caps
......................................................................


hostdev: display hostdev passthrough support in caps

Passthrough support can be  read via sysfs /sys/class/iommu, where
support would be indicated by presence of dma remapping indicator -
dmarX (where X >= 0). This patch exposes this fact in caps via
hostdevPassthrough key.

Hostdev support is indicated by 2 settings - Intel VT-d or AMD-Vi
and kernel iommu support, both of these are handled by this
implementation.

Change-Id: I159f49db4fdbfd347753b2c97c5f75b694ac9460
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/37701
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/caps.py
M vdsm/rpc/vdsmapi-schema.json
2 files changed, 11 insertions(+), 1 deletion(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve
  Martin Polednik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I159f49db4fdbfd347753b2c97c5f75b694ac9460
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list