Francesco Romani has posted comments on this change.

Change subject: devices: move and rename getUnderlyingDeviceAddress
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.ovirt.org/#/c/38714/2/vdsm/virt/vmxml.py
File vdsm/virt/vmxml.py:

Line 515:     # Parse address to create proper dictionary.
Line 516:     # Libvirt device's address definition is:
Line 517:     # PCI = {'type':'pci', 'domain':'0x0000', 'bus':'0x00',
Line 518:     #        'slot':'0x0c', 'function':'0x0'}
Line 519:     # IDE = {'type':'drive', 'controller':'0', 'bus':'0', 'unit':'0'}
Let's bootstrap the unit tests with these examples
Line 520:     address = {}
Line 521:     for key in address_xml.attributes.keys():
Line 522:         address[key.strip()] = address_xml.getAttribute(key).strip()
Line 523: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I45fefb65461bcf97f75d607c55097eb5db2ed2ba
Gerrit-PatchSet: 2
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: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[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

Reply via email to