Re: [Qemu-devel] [PATCH v2 1/9] qapi: Add optional field "name" to block dirty bitmap

2014-03-14 Thread Fam Zheng
On Thu, 03/13 14:15, Benoît Canet wrote: > The Wednesday 12 Mar 2014 à 14:30:56 (+0800), Fam Zheng wrote : > > This field will be set for user created dirty bitmap. Also pass in an > > error pointer to bdrv_create_dirty_bitmap, so when a name is already > > taken on this BDS, it can report an error

Re: [Qemu-devel] [PATCH v2 1/9] qapi: Add optional field "name" to block dirty bitmap

2014-03-13 Thread Benoît Canet
The Wednesday 12 Mar 2014 à 14:30:56 (+0800), Fam Zheng wrote : > This field will be set for user created dirty bitmap. Also pass in an > error pointer to bdrv_create_dirty_bitmap, so when a name is already > taken on this BDS, it can report an error message. This is not global > check, two BDSes c

[Qemu-devel] [PATCH v2 1/9] qapi: Add optional field "name" to block dirty bitmap

2014-03-11 Thread Fam Zheng
This field will be set for user created dirty bitmap. Also pass in an error pointer to bdrv_create_dirty_bitmap, so when a name is already taken on this BDS, it can report an error message. This is not global check, two BDSes can have dirty bitmap with a common name. Implemented bdrv_find_dirty_bi