Change in vdsm[master]: hostdev: only detect IOMMU group for PCI devices

danken at redhat.com danken at redhat.com
Tue Apr 21 10:43:10 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: hostdev: only detect IOMMU group for PCI devices
......................................................................


hostdev: only detect IOMMU group for PCI devices

When assigning USB and/or SCSI devices, the detach function is called
to fetch attributes of the device. Assigning IOMMU group caused
KeyError in this case as there are no IOMMU groups on usb/scsi buses.

Change-Id: I4aa14738c52013c4f0247544c2d81d1bebaced4b
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/39807
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/hostdev.py
1 file changed, 2 insertions(+), 4 deletions(-)

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/39807
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4aa14738c52013c4f0247544c2d81d1bebaced4b
Gerrit-PatchSet: 2
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: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list