Change in vdsm[master]: vdsm: introduce hostdev module
mpolednik at redhat.com
mpolednik at redhat.com
Fri Sep 26 21:48:12 UTC 2014
Martin Polednik has posted comments on this change.
Change subject: vdsm: introduce hostdev module
......................................................................
Patch Set 10:
(1 comment)
http://gerrit.ovirt.org/#/c/32313/10/vdsm/hostdev.py
File vdsm/hostdev.py:
Line 72: if device['device'] == 'hostdev':
Line 73: try:
Line 74: devices[device['name']] = vmId
Line 75: except KeyError:
Line 76: raise logging.warn('Vm %s has hostdev without mandatory '
> warn() return None, and this is what you raise here - I suppose it's a typo
Yep, typo detected.
To the code above: nameless hostdevs are impossible (as the name is used to obtain virNodeDevice object), error sounds fine.
Line 77: 'name attribute!', vmId)
Line 78:
Line 79: return devices
Line 80:
--
To view, visit http://gerrit.ovirt.org/32313
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I2bba96db5be180d00cb74fb89b10c5b09e5bd180
Gerrit-PatchSet: 10
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: 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
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list