[Libvirt-cim] [PATCH 1 of 2] Adding a function that returns resource type based on poolid