[Libvirt-cim] [PATCH] Fix crash and/or error when diskpool.conf does not exist

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Nov 15 01:30:51 UTC 2007


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1195073495 28800
> # Node ID 7798be3698b4a53c1301dc3e3f4a4bfd1bc9e37b
> # Parent  d2bcdde08df6080caa9ae8d152d516d232fb6345
> Fix crash and/or error when diskpool.conf does not exist
>
> Previously, a missing diskpool configuration file returned an error, which
> prevented enumeration of all CIM_ResourcePool objects.  This changes that
> behavior to consider a lack of a diskpool.conf file to mean "no disk pools
> have been defined", equivalent to how a lack of bridges indicates that no
> network pools have been defined.
>
> Signed-off-by: Dan Smith <danms at us.ibm.com>
>   
Seems like a reasonable change.  I ran into this issue last week. =)  +1

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





More information about the Libvirt-cim mailing list