[libvirt] [PATCH 1/3] Storage pool duplicate UUID/name checking

Cole Robinson crobinso at redhat.com
Thu May 27 18:41:51 UTC 2010


On 05/27/2010 12:00 PM, Daniel P. Berrange wrote:
> The storage pool driver is not doing correct checking for
> duplicate UUID/name values. This introduces a new method
> virStoragePoolObjIsDuplicate, based on the previously
> written virDomainObjIsDuplicate.
> 
> * src/conf/storage_conf.c, src/conf/storage_conf.c,
>   src/libvirt_private.syms: Add virStoragePoolObjIsDuplicate,
> * src/storage/storage_driver.c: Call virStoragePoolObjIsDuplicate
>   for checking uniqueness of uuid/names
> ---
>  src/conf/storage_conf.c      |   63 ++++++++++++++++++++++++++++++++++++++++++
>  src/conf/storage_conf.h      |    4 ++
>  src/libvirt_private.syms     |    1 +
>  src/storage/storage_driver.c |   14 ++------
>  4 files changed, 72 insertions(+), 10 deletions(-)
> 

ACK

- Cole




More information about the libvir-list mailing list