[Libvirt-cim] [PATCH 1 of 3] Add disk resource pools

Jay Gagnon grendel at linux.vnet.ibm.com
Fri Oct 26 15:52:08 UTC 2007


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1193407968 25200
> # Node ID c43f4785810f0b1695bf21c23eb26ba4b5cf0b02
> # Parent  1fef15850ba5557cc421206fb3ff569f6845ad99
> 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.
>
> Signed-off-by: Dan Smith <danms at us.ibm.com>
>
>   

This seems like a fine start. +1

I can get a quick patch out to make the filepath settable via the
configure script, especially if it's okay to say that validation of the
filepath can wait until run time.

-- 

-Jay




More information about the Libvirt-cim mailing list