Rework the XML import backend to use hwloc_insert_object_by_parent() instead of _by_cpuset(). The XML syntax exposes the actual hierarchy so we already know the father when inserting new objects. Also, inserting by cpuset does not work well with empty cpusets (it will break with I/O devices for sure).
Rework the XML import backend to use hwloc_insert_object_by_parent()
instead of _by_cpuset().
The XML syntax exposes the actual hierarchy so we already know the
father when inserting new objects.
Also, inserting by cpuset does not work well with empty cpusets
(it will break with I/O devices for sure).

git-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@1300 4b44e086-7f34-40ce-a3bd-00e031736276

BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc