[Libvirt-cim] [PATCH] Add disk resource pools

Jay Gagnon grendel at linux.vnet.ibm.com
Mon Oct 29 15:11:18 UTC 2007


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1193505363 25200
> # Node ID 06e694e6367634fab4ebc1c1a9927cee790d31c4
> # Parent  f9d3ced9a8b4eb54d46997ba8f96f8105998d625
> Add disk resource pools
> This patch parses a disk pool config file, which allows you to specify a pool
> name and path.  The path is assumed to be a directory of image files.  The
> Capacity and Reserved properties are reported with statvfs (although the
> free/reserved calculation isn't working yet).  The config is hard-coded to
> /tmp/diskpool.conf currently, but needs to be a compile-time option.  This
> should be a good start though.
>
> Updated to fix a similar compile warning on Fedora 7
>
> Signed-off-by: Dan Smith <danms at us.ibm.com>
>
>
>   

The only change since I acked the original being a small compile warning
fix, I obviously think this is good to go. I'll import it from here and
re-base my configure patch so we can make the config location compile-time.

-- 

-Jay




More information about the Libvirt-cim mailing list