Re: [Qemu-devel] An issue in block-migration

2013-10-10 Thread Stefan Hajnoczi
On Thu, Oct 03, 2013 at 04:23:45AM +, Yaodong Yang wrote: > In block-migration.c file, line 435, if (bdrv_get_dirty(bmds->bs, sector)) { > > It looks like this "if statement" is used to check whether a chunk is dirty > or not. If it is dirty, system will migrate a whole chunk, 1MB data, to th

[Qemu-devel] An issue in block-migration

2013-10-02 Thread Yaodong Yang
Hi all,In block-migration.c file, line 435, if (bdrv_get_dirty(bmds->bs, sector)) {It looks like this "if statement" is used to check whether a chunk is dirty or not. If it is dirty, system will migrate a whole chunk, 1MB data, to the destination. Otherwise, the cur_dirty will increase by 1MB/512B