Alon Bar-Lev has posted comments on this change. Change subject: core: introduce osinfo service implementation over RMI ......................................................................
Patch Set 2: (1 inline comment) .................................................... File backend/manager/tools/src/main/java/org/ovirt/engine/core/osinfo/server/LibosinfoJNAServiceImpl.java Line 90: if (resources == null || cpuArch == null) { Line 91: return null; Line 92: } Line 93: Line 94: for (int i = 0; i < lib.osinfo_list_get_length(resources.parent_instance); i++) { Still don't understand why not generate it at build time, and then it does not matter. Line 95: OsinfoEntity entity = lib.osinfo_list_get_nth(resources.parent_instance, i); Line 96: String architecure = getResourceArchitecture(entity); Line 97: Line 98: if (cpuArch.equalsIgnoreCase(architecure)) { -- To view, visit http://gerrit.ovirt.org/12937 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia893bdc3dfc486e0b3e735f4e187996710a05f54 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches