Change in vdsm[master]: hostdev: fix detection of device vmId
fromani at redhat.com
fromani at redhat.com
Fri Mar 13 12:58:11 UTC 2015
Francesco Romani has posted comments on this change.
Change subject: hostdev: fix detection of device vmId
......................................................................
Patch Set 2:
(1 comment)
https://gerrit.ovirt.org/#/c/38668/2/vdsm/hostdev.py
File vdsm/hostdev.py:
Line 139: # loop through VMs and find their host devices
Line 140: for vmId, VM in vmContainer.items():
Line 141: for device in VM.conf['devices']:
Line 142: if device['type'] == 'hostdev':
Line 143: # Name is always present, if it is not we have encountered
probably outdated comment
Line 144: # unknown situation
Line 145: devices[device['device']] = vmId
Line 146:
Line 147: return devices
--
To view, visit https://gerrit.ovirt.org/38668
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I002c74ba84644a14ccc9abaa52a18beebe09a3e3
Gerrit-PatchSet: 2
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: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list