Michal Skrivanek has posted comments on this change. Change subject: hostdev: add support for usb devices ......................................................................
Patch Set 4: (1 comment) https://gerrit.ovirt.org/#/c/39715/4/vdsm/virt/vm.py File vdsm/virt/vm.py: Line 3808: # both addresses and determine the correct one. Line 3809: if hostdev.address_to_name(device_type, address) == device: Line 3810: try: Line 3811: address = self._getUnderlyingDeviceAddress(x, 1) Line 3812: except IndexError: > It was guaranteed that the second address would exist, that fact is gone wi why wouldn't it have address? type='usb' USB addresses have the following additional attributes: bus (a hex value between 0 and 0xfff, inclusive), and port (a dotted notation of up to four octets, such as 1.2 or 2.1.3.1). Line 3813: address = None Line 3814: Line 3815: known_device = False Line 3816: for dev in self.conf['devices']: -- To view, visit https://gerrit.ovirt.org/39715 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ibf9b4f302353f3006e1f945dd342d351039ba387 Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Martin Polednik <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Ido Barkan <[email protected]> Gerrit-Reviewer: Martin Polednik <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
