commit | c6d2283068026035a6468aae9dcde953bd7521ac | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Mon Nov 30 18:21:20 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Dec 03 10:48:52 2009 -0600 |
tree | db0eef6fb2a061b09f7804239a8260e6b45b2df2 | |
parent | 6ea44308b0e8156d352f07b97b2b05eaed89aa6d [diff] |
block migration: Cleanup dirty tracking code This switches the dirty bitmap to a true bitmap, reducing its footprint (specifically in caches). It moreover fixes off-by-one bugs in set_dirty_bitmap (nb_sectors+1 were marked) and bdrv_get_dirty (limit check allowed one sector behind end of drive). And is drops redundant dirty_tracking field from BlockDriverState. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>