EAFP: adopt DevicePool interface changes
EAFP: adopt DevicePool interface changes

- adopted changes to DevicePool interface
- updated resource types
- validate client given device ref

Signed-off-by: Heidi Eckhart <heidieck@linux.vnet.ibm.com>

 Virt_ElementAllocatedFromPool.c |   45 ++++++++++++++--------------------------
 1 file changed, 16 insertions(+), 29 deletions(-)

libvirt/libvirt-cim,libvirt/libvirt-cim,libvirt/libvirt-cim