.#2 HRP accepts invalid references.
.#2 HRP accepts invalid references.

Updates: Fixed errors in commit message.  Previous message didn't make any sense.

Add a get_pool_inst() call to pool_to_sys() handler.  The get_pool_inst() call will verify whether the reference passed in is valid.

This patch is dependant on the "#2 EAFP and RAFP support invalid references" patchset.

Failing query:
wbemcli ain -ac Xen_HostedResourcePool http://localhost/root/virt:Xen_MemoryPool.InstanceID="wrong"

Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com>

 Virt_HostedResourcePool.c |    5 +++++
 1 file changed, 5 insertions(+)

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