]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Storage pool duplicate UUID/name checking
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 27 May 2010 11:41:30 +0000 (12:41 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Jun 2010 14:11:08 +0000 (15:11 +0100)
commite9364d9f2a3079f483fdff7026bbd752081cb526
tree0698edec8a4ddae6cf57287740084458b61cc6f4
parentf4f91e7b24f8642bcba202a02f7bc401cbb6aa99
Storage pool duplicate UUID/name checking

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
src/conf/storage_conf.h
src/libvirt_private.syms
src/storage/storage_driver.c