[libvirt] [PATCH 5/7] Introduce generic virDomainDeviceInfo iterator function