[Libvirt-cim] [PATCH 04 of 10] DevicePool: reorganize get and enum functions