Re: [libvirt] [PATCH] Fix bug #611823 prohibit pools with duplicate storage

2011-08-02 Thread Daniel P. Berrange
On Fri, Jul 29, 2011 at 12:34:15PM +0800, Lei Li wrote: To make sure the unique storage pool defined and created from different directory to avoid inconsistent version of volume pool created, I add two API be called by storage driver to check for the probable duplicate pools and refused the

[libvirt] [PATCH] Fix bug#611823 prohibit pools with duplicate storage

2011-07-30 Thread Lei Li
Make sure the unique storage pool defined and create from different directory to avoid inconsistent version of volume pool created. Signed-off-by: Lei Lili...@linux.vnet.ibm.com --- src/conf/storage_conf.c | 36 src/conf/storage_conf.h |5

[libvirt] [PATCH] Fix bug #611823 prohibit pools with duplicate storage

2011-07-30 Thread Lei Li
Make sure the unique storage pool defined and create from different directory to avoid inconsistent version of volume pool created. Signed-off-by: Lei Lili...@linux.vnet.ibm.com --- src/conf/storage_conf.c | 36 src/conf/storage_conf.h |4

[libvirt] [PATCH] Fix bug #611823 prohibit pools with duplicate storage

2011-07-29 Thread Lei Li
To make sure the unique storage pool defined and created from different directory to avoid inconsistent version of volume pool created, I add two API be called by storage driver to check for the probable duplicate pools and refused the duplicate pool. virStoragePoolObjFindByPath() provide a

Re: [libvirt] [PATCH] Fix bug #611823 prohibit pools with duplicate storage

2011-07-29 Thread Adam Litke
Hi Lei Li, This patch doesn't seem to apply for me. Please recreate the patch against an up to date git repository. Make sure to test that you can apply the patch yourself. On 07/28/2011 11:34 PM, Lei Li wrote: To make sure the unique storage pool defined and created from different directory