[Libvirt-cim] [PATCH] Fix enum_domains() to generate a correct ObjectPath for returned Instances

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Nov 2 20:40:16 UTC 2007


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1194024510 25200
> # Node ID d48584b1c90c499dea3940c1718ef0e97ae5ef9e
> # Parent  854d848bae0b56420e483ac7522775b6b3080aaa
> Fix enum_domains() to generate a correct ObjectPath for returned Instances
>
> This fixes the fact that HostedDependency is returning ComputerSystem
> instances with the wrong class name.
>
> - Modified enum_domains() to take a namespace instead of an object path and
>   actually create the correct OP for the instances
> - Removed an unnecessary parameter from instance_from_dom()
>   
Nice fix - HostedDependency now returns a correctly formatted 
Xen_ComputerSystem instance on my system.  And good catch on the extra 
param for instance_from_dom().

+1

-- 
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com





More information about the Libvirt-cim mailing list