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