Re: [Qemu-devel] [PATCH v2 2/2] test-bitmap: add test for bitmap_set

2019-07-17 Thread Wei Yang
On Wed, Jul 17, 2019 at 03:43:11PM +0800, Peter Xu wrote: >On Wed, Jul 17, 2019 at 03:11:14PM +0800, Wei Yang wrote: >> Add a test for bitmap_set. There are three cases: >> >> * Both start and end is BITS_PER_LONG aligned >> * Only start is BITS_PER_LONG aligned >> * Only end is BITS_PER_LON

Re: [Qemu-devel] [PATCH v2 2/2] test-bitmap: add test for bitmap_set

2019-07-17 Thread Peter Xu
On Wed, Jul 17, 2019 at 03:11:14PM +0800, Wei Yang wrote: > Add a test for bitmap_set. There are three cases: > > * Both start and end is BITS_PER_LONG aligned > * Only start is BITS_PER_LONG aligned > * Only end is BITS_PER_LONG aligned > > Signed-off-by: Wei Yang Hi, Wei, Thanks for do

[Qemu-devel] [PATCH v2 2/2] test-bitmap: add test for bitmap_set

2019-07-17 Thread Wei Yang
Add a test for bitmap_set. There are three cases: * Both start and end is BITS_PER_LONG aligned * Only start is BITS_PER_LONG aligned * Only end is BITS_PER_LONG aligned Signed-off-by: Wei Yang --- tests/test-bitmap.c | 33 + 1 file changed, 33 insertions(+