[libvirt] [PATCH 1/2] storage: New flags to allow building the pool while creating it
Eric Blake
eblake at redhat.com
Tue Aug 21 22:02:29 UTC 2012
On 08/17/2012 08:58 AM, Osier Yang wrote:
> We see the requirement for allowing to build the pool while pool-create
> /pool-create-as/pool-start often in either upstream list or bugzilla,
> so this patch introduces the flags virStoragePoolCreateFlags for
> both virStoragePoolCreate and virStoragePoolCreateXML.
>
> VIR_STORAGE_POOL_CREATE_WITH_BUILD allows to build the pool as
> normal (for a filesystem pool, means only making the directory),
> VIR_STORAGE_POOL_CREATE_WITH_BUILD_OVERWRITE allows to build
> the pool with overwriting the existed pool data. Oppositely,
> VIR_STORAGE_POOL_CREATE_WITH_BUILD_NO_OVERWRITE doesn't allow
> to overwrite anything.
> ---
> include/libvirt/libvirt.h.in | 13 +++++++++++++
> src/libvirt.c | 4 ++--
> src/storage/storage_driver.c | 38 ++++++++++++++++++++++++++++++++++++--
> 3 files changed, 51 insertions(+), 4 deletions(-)
>
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120821/395e47e2/attachment-0001.sig>
More information about the libvir-list
mailing list